Share via


ServerGroupCollection Constructor

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

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

Syntax

'Declaration
Public Sub New ( _
    parent As ServerGroupParent, _
    customComparer As IComparer(Of String) _
)
'Usage
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>
)

Parameters

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

See Also

Reference

ServerGroupCollection Class

Microsoft.SqlServer.Management.RegisteredServers Namespace