Constructeur ServerGroupCollection
Initializes a new instance of the ServerGroupCollection class based on the specified parent object and the specified comparison interface.
Espace de noms : Microsoft.SqlServer.Management.RegisteredServers
Assembly : Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)
Syntaxe
'Déclaration
Public Sub New ( _
parent As ServerGroupParent, _
customComparer As IComparer(Of String) _
)
'Utilisation
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>
)
Paramètres
- parent
Type : Microsoft.SqlServer.Management.RegisteredServers. . :: . .ServerGroupParent
A ServerGroup value that specifies the parent of the referenced object.
- customComparer
Type : System.Collections.Generic. . :: . .IComparer< (Of < ( <'String> ) > ) >
A [T:System.Collections.Generic.IComparer(System.String)] value that specifies the comparison interface.
Notes
Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.