RegisteredServerCollection 類別
注意:此 API 已經過時。
The RegisteredServerCollection class represents a collection of RegisteredServer objects that represent all the registered servers on the registered server group.
命名空間: Microsoft.SqlServer.Management.Smo.RegisteredServers
組件: Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)
語法
'宣告
<ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")> _
Public NotInheritable Class RegisteredServerCollection _
Inherits RegSvrCollectionBase _
Implements ICollection, IEnumerable
'用途
Dim instance As RegisteredServerCollection
[ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")]
public sealed class RegisteredServerCollection : RegSvrCollectionBase,
ICollection, IEnumerable
[ObsoleteAttribute(L"Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")]
public ref class RegisteredServerCollection sealed : public RegSvrCollectionBase,
ICollection, IEnumerable
[<SealedAttribute>]
[<ObsoleteAttribute("Instead use namespace Microsoft.SqlServer.Management.RegisteredServers")>]
type RegisteredServerCollection =
class
inherit RegSvrCollectionBase
interface ICollection
interface IEnumerable
end
public final class RegisteredServerCollection extends RegSvrCollectionBase implements ICollection, IEnumerable
備註
A RegisteredServerCollection object can be used to gain access to a set of registered servers. You can use the Item property to return a specific RegisteredServer object.
繼承階層
System. . :: . .Object
Microsoft.SqlServer.Management.Smo.RegisteredServers. . :: . .RegSvrCollectionBase
Microsoft.SqlServer.Management.Smo.RegisteredServers..::..RegisteredServerCollection
執行緒安全性
這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。