ManagedInstanceCollection Constructor (Utility, IComparer<String>)

 

Creates a new ManagedInstanceCollection instance with the specified parent T:Microsoft.SqlServer.Management.Utility and custom object comparer object.

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

public ManagedInstanceCollection(
	Utility parent,
	IComparer<string> customComparer
)

Parameters

parent
Type: Microsoft.SqlServer.Management.Utility.Utility

Specifies the T:Microsoft.SqlServer.Management.Utility object that is the parent of the ManagedInstanceCollection

customComparer
Type: System.Collections.Generic.IComparer<String>

Contains an object implementing the IComparer<T> interface that is used to compare managed instances within the collection.

Return to top
Show: