VolumeCollection 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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)
參數
備註
預設建構子會將任何欄位初始化為其預設值。
適用於
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))
參數
一個 IComparer<T> 指定自訂比較介面的物件。