Compartilhar via


Construtor RegisteredServerCollection

Initializes a new instance of the RegisteredServerCollection class based on the specified parent object and the specified comparison interface.

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (em Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintaxe

'Declaração
Public Sub New ( _
    parent As ServerGroup, _
    customComparer As IComparer(Of String) _
)
'Uso
Dim parent As ServerGroup
Dim customComparer As IComparer(Of String)

Dim instance As New RegisteredServerCollection(parent, _
    customComparer)
public RegisteredServerCollection(
    ServerGroup parent,
    IComparer<string> customComparer
)
public:
RegisteredServerCollection(
    ServerGroup^ parent, 
    IComparer<String^>^ customComparer
)
new : 
        parent:ServerGroup * 
        customComparer:IComparer<string> -> RegisteredServerCollection
public function RegisteredServerCollection(
    parent : ServerGroup, 
    customComparer : IComparer<String>
)

Parâmetros

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.