ManagedInstanceCollection Constructor (Utility, IComparer<String>)
Creates a new ManagedInstanceCollection instance with the specified parent Utility and custom object comparer object.
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 ManagedInstanceCollection(parent, _
customComparer)
public ManagedInstanceCollection(
Utility parent,
IComparer<string> customComparer
)
public:
ManagedInstanceCollection(
Utility^ parent,
IComparer<String^>^ customComparer
)
new :
parent:Utility *
customComparer:IComparer<string> -> ManagedInstanceCollection
public function ManagedInstanceCollection(
parent : Utility,
customComparer : IComparer<String>
)
Parámetros
- parent
Tipo: Microsoft.SqlServer.Management.Utility.Utility
Specifies the Utility object that is the parent of the ManagedInstanceCollection
- customComparer
Tipo: System.Collections.Generic.IComparer<String>
Contains an object implementing the IComparer<T> interface that is used to compare managed instances within the collection.
Vea también
Referencia
ManagedInstanceCollection Clase