Share via


ComputerCollection Constructors

Definition

Initializes a new instance of the ComputerCollection class.

Overloads

ComputerCollection(Utility)

Initializes a new instance of the ComputerCollection class on the specified Utility domain.

ComputerCollection(Utility, IComparer<String>)

Initializes a new instance of the ComputerCollection class on the specified Utility domain and with the specified comparer interface.

Remarks

The default constructor initializes any fields to their default values.

ComputerCollection(Utility)

Initializes a new instance of the ComputerCollection class on the specified Utility domain.

public:
 ComputerCollection(Microsoft::SqlServer::Management::Utility::Utility ^ parent);
public ComputerCollection (Microsoft.SqlServer.Management.Utility.Utility parent);
new Microsoft.SqlServer.Management.Utility.ComputerCollection : Microsoft.SqlServer.Management.Utility.Utility -> Microsoft.SqlServer.Management.Utility.ComputerCollection
Public Sub New (parent As Utility)

Parameters

parent
Utility

A Utility object that specifies the parent of the collection.

Remarks

The default constructor initializes any fields to their default values.

Applies to

ComputerCollection(Utility, IComparer<String>)

Initializes a new instance of the ComputerCollection class on the specified Utility domain and with the specified comparer interface.

public:
 ComputerCollection(Microsoft::SqlServer::Management::Utility::Utility ^ parent, System::Collections::Generic::IComparer<System::String ^> ^ customComparer);
public ComputerCollection (Microsoft.SqlServer.Management.Utility.Utility parent, System.Collections.Generic.IComparer<string> customComparer);
new Microsoft.SqlServer.Management.Utility.ComputerCollection : Microsoft.SqlServer.Management.Utility.Utility * System.Collections.Generic.IComparer<string> -> Microsoft.SqlServer.Management.Utility.ComputerCollection
Public Sub New (parent As Utility, customComparer As IComparer(Of String))

Parameters

parent
Utility

A Utility object that specifies the parent of the collection.

customComparer
IComparer<String>

An IComparer String object that specifies the custom comparer interface.

Applies to