ManagedInstanceCollection Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new ManagedInstanceCollection instance.
Overloads
ManagedInstanceCollection(Utility) |
Creates a new ManagedInstanceCollection instance with the specified parent Utility. |
ManagedInstanceCollection(Utility, IComparer<String>) |
Creates a new ManagedInstanceCollection instance with the specified parent Utility and custom object comparer object. |
ManagedInstanceCollection(Utility)
Creates a new ManagedInstanceCollection instance with the specified parent Utility.
public:
ManagedInstanceCollection(Microsoft::SqlServer::Management::Utility::Utility ^ parent);
public ManagedInstanceCollection (Microsoft.SqlServer.Management.Utility.Utility parent);
new Microsoft.SqlServer.Management.Utility.ManagedInstanceCollection : Microsoft.SqlServer.Management.Utility.Utility -> Microsoft.SqlServer.Management.Utility.ManagedInstanceCollection
Public Sub New (parent As Utility)
Parameters
- parent
- Utility
Specifies the Utility object that is the parent of the ManagedInstanceCollection
Applies to
ManagedInstanceCollection(Utility, IComparer<String>)
Creates a new ManagedInstanceCollection instance with the specified parent Utility and custom object comparer object.
public:
ManagedInstanceCollection(Microsoft::SqlServer::Management::Utility::Utility ^ parent, System::Collections::Generic::IComparer<System::String ^> ^ customComparer);
public ManagedInstanceCollection (Microsoft.SqlServer.Management.Utility.Utility parent, System.Collections.Generic.IComparer<string> customComparer);
new Microsoft.SqlServer.Management.Utility.ManagedInstanceCollection : Microsoft.SqlServer.Management.Utility.Utility * System.Collections.Generic.IComparer<string> -> Microsoft.SqlServer.Management.Utility.ManagedInstanceCollection
Public Sub New (parent As Utility, customComparer As IComparer(Of String))
Parameters
- parent
- Utility
Specifies the Utility object that is the parent of the ManagedInstanceCollection
Contains an object implementing the IComparer<T> interface that is used to compare managed instances within the collection.