共用方式為


ServerGroupBase.ClearCollections 方法

Clears the server group collections.

命名空間:  Microsoft.SqlServer.Management.Smo.RegisteredServers
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Protected Friend Sub ClearCollections
'用途
Me.ClearCollections()
protected internal void ClearCollections()
protected public:
void ClearCollections()
member ClearCollections : unit -> unit
function ClearCollections()

請參閱

參考

ServerGroupBase 類別

Microsoft.SqlServer.Management.Smo.RegisteredServers 命名空間

其他資源

管理已註冊的伺服器