RegisteredServerCollection-Konstruktor
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 (in Microsoft.SqlServer.Management.RegisteredServers.dll)
Syntax
'Declaration
Public Sub New ( _
parent As ServerGroup, _
customComparer As IComparer(Of String) _
)
'Usage
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>
)
Parameter
- parent
Typ: Microsoft.SqlServer.Management.RegisteredServers.ServerGroup
A RegisteredServer value that specifies the parent of the referenced object.
- customComparer
Typ: System.Collections.Generic.IComparer<String>
A [T:System.Collections.Generic.IComparer(System.String)] value that specifies the comparison interface.
Hinweise
Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.