ComputerCollection Constructor (Utility, IComparer(String))
Initializes a new instance of the CollectionCollection class on the specified Utility domain and with the specified comparer interface.
Espacio de nombres: Microsoft.SqlServer.Management.Utility
Ensamblado: Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)
Sintaxis
'Declaración
Public Sub New ( _
parent As Utility, _
customComparer As IComparer(Of String) _
)
'Uso
Dim parent As Utility
Dim customComparer As IComparer(Of String)
Dim instance As New ComputerCollection(parent, _
customComparer)
public ComputerCollection(
Utility parent,
IComparer<string> customComparer
)
public:
ComputerCollection(
Utility^ parent,
IComparer<String^>^ customComparer
)
new :
parent:Utility *
customComparer:IComparer<string> -> ComputerCollection
public function ComputerCollection(
parent : Utility,
customComparer : IComparer<String>
)
Parámetros
- parent
Tipo: Microsoft.SqlServer.Management.Utility. . :: . .Utility
A Utility object that specifies the parent of the collection.
- customComparer
Tipo: System.Collections.Generic. . :: . .IComparer< (Of < ( <'String> ) > ) >
A [T:System.Collections.Generic.IComparer<string>] object that specifies the custom comparer interface.