ServerGroupCollection Constructor
Initializes a new instance of the ServerGroupCollection 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 ServerGroupParent, _
customComparer As IComparer(Of String) _
)
'Uso
Dim parent As ServerGroupParent
Dim customComparer As IComparer(Of String)
Dim instance As New ServerGroupCollection(parent, _
customComparer)
public ServerGroupCollection(
ServerGroupParent parent,
IComparer<string> customComparer
)
public:
ServerGroupCollection(
ServerGroupParent^ parent,
IComparer<String^>^ customComparer
)
new :
parent:ServerGroupParent *
customComparer:IComparer<string> -> ServerGroupCollection
public function ServerGroupCollection(
parent : ServerGroupParent,
customComparer : IComparer<String>
)
Parámetros
- parent
Tipo: Microsoft.SqlServer.Management.RegisteredServers. . :: . .ServerGroupParent
A ServerGroup value that specifies the parent of the referenced object.
- customComparer
Tipo: System.Collections.Generic. . :: . .IComparer< (Of < ( <'String> ) > ) >
A [T:System.Collections.Generic.IComparer(System.String)] value that specifies the comparison interface.
Comentarios
Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.
Vea también