語言

VolumeCollection 建構函式

定義

初始化 VolumeCollection 類別的新執行個體。

多載

名稱 Description
VolumeCollection(Computer)

在指定電腦上初始化該 VolumeCollection 類別的新實例。

VolumeCollection(Computer, IComparer<String>)

在指定的電腦上初始化該 VolumeCollection 類別的新實例,並使用指定的比較介面。

備註

預設建構子會將任何欄位初始化為其預設值。

VolumeCollection(Computer)

在指定電腦上初始化該 VolumeCollection 類別的新實例。

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)

參數

parent
Computer

一個 Computer 指定集合父節點的物件。

備註

預設建構子會將任何欄位初始化為其預設值。

適用於

VolumeCollection(Computer, IComparer<String>)

在指定的電腦上初始化該 VolumeCollection 類別的新實例,並使用指定的比較介面。

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))

參數

parent
Computer

一個 Computer 指定集合父節點的物件。

customComparer
IComparer<String>

一個 IComparer<T> 指定自訂比較介面的物件。

適用於