Конструктор ServerGroupCollection
Initializes a new instance of the ServerGroupCollection class based on the specified parent object and the specified comparison interface.
Пространство имен: Microsoft.SqlServer.Management.RegisteredServers
Сборка: Microsoft.SqlServer.Management.RegisteredServers (в Microsoft.SqlServer.Management.RegisteredServers.dll)
Синтаксис
'Декларация
Public Sub New ( _
parent As ServerGroupParent, _
customComparer As IComparer(Of String) _
)
'Применение
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>
)
Параметры
- parent
Тип: Microsoft.SqlServer.Management.RegisteredServers. . :: . .ServerGroupParent
A ServerGroup value that specifies the parent of the referenced object.
- customComparer
Тип: System.Collections.Generic. . :: . .IComparer< (Of < ( <'String> ) > ) >
A [T:System.Collections.Generic.IComparer(System.String)] value that specifies the comparison interface.
Замечания
Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.