Compartir a través de


RegisteredServerCollection Constructor

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

Espacio de nombres:  Microsoft.SqlServer.Management.RegisteredServers
Ensamblado:  Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintaxis

'Declaración
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

Comentarios

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.