Share via


ManagedInstanceCollection Constructor (Utility, IComparer<String>)

Creates a new ManagedInstanceCollection instance with the specified parent Utility and custom object comparer object.

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

Syntax

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

Parameters

See Also

Reference

ManagedInstanceCollection Class

ManagedInstanceCollection Overload

Microsoft.SqlServer.Management.Utility Namespace