Share via


VolumeCollection Constructors

Definition

Initializes a new instance of the VolumeCollection class.

Overloads

VolumeCollection(Computer)

Initializes a new instance of the VolumeCollection class on the specified computer.

VolumeCollection(Computer, IComparer<String>)

Initializes a new instance of the VolumeCollection class on the specified computer and with the specified comparer interface.

Remarks

The default constructor initializes any fields to their default values.

VolumeCollection(Computer)

Initializes a new instance of the VolumeCollection class on the specified computer.

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

Parameters

parent
Computer

A Computer object that specifies the parent of the collection.

Remarks

The default constructor initializes any fields to their default values.

Applies to

VolumeCollection(Computer, IComparer<String>)

Initializes a new instance of the VolumeCollection class on the specified computer and with the specified comparer interface.

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

Parameters

parent
Computer

A Computer object that specifies the parent of the collection.

customComparer
IComparer<String>

A IComparer<T> object that specifies the custom comparer interface.

Applies to