語言

Volume 類別

定義

該Volume類型代表 SQL Server 工具領域中電腦的磁碟區或磁碟分割區的資訊。

public ref class Volume sealed : Microsoft::SqlServer::Management::Sdk::Sfc::SfcInstance
[Microsoft.SqlServer.Management.Facets.EvaluationMode(Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.Utility.FacetSR", true)]
[Microsoft.SqlServer.Management.Sdk.Sfc.PhysicalFacet]
[System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Sdk.Sfc.LocalizableTypeConverter))]
public sealed class Volume : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
[<Microsoft.SqlServer.Management.Facets.EvaluationMode(Microsoft.SqlServer.Management.Dmf.AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.Utility.FacetSR", true)>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.PhysicalFacet>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.SqlServer.Management.Sdk.Sfc.LocalizableTypeConverter))>]
type Volume = class
    inherit SfcInstance
Public NotInheritable Class Volume
Inherits SfcInstance
繼承
屬性

備註

該Volume物件代表 SQL Server 工具領域中電腦磁碟區或磁碟分割區的資訊。 利用這個 Volume 物件,你可以:

  • 判斷該體積是否為掛載點及其位置。

  • 確定總磁碟空間、使用空間及空間利用率。

建構函式

名稱 Description
Volume()

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

Volume(Computer, String)

初始化一個以指定連線的新 Volume 類別實例。

屬性

名稱 Description
AbstractIdentityKey

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
DeviceId

取得磁碟實例的裝置 ID。

ID

取得唯一識別該磁碟區的 ID 值。

IdentityKey

取得 Volume 唯一能識別該音量的值。

Metadata

回傳關於實例及其網域的元資料。

(繼承來源 SfcInstance)
Name

取得 String 指定該磁碟區名稱的值。

Parent

取得 Computer 指定為 Volume 物件父值的物件值。

Properties

回傳集合實例屬性。

(繼承來源 SfcInstance)
PropertyStorageProvider

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
State

回傳 SfcInstance 物件的狀態。

(繼承來源 SfcInstance)
TotalSpace

取得該磁碟區的總儲存容量(以兆位元組為單位)。

TotalSpaceUsed

它會取得該磁碟區的總使用儲存空間(以兆位元組為單位)。

TotalSpaceUtilization

取得佔總儲存容量百分比的空間。

Urn

回傳 SfcInstance 物件的統一資源名稱。

(繼承來源 SfcInstance)

方法

名稱 Description
AlterImpl()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
CheckObjectCreated()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
CheckObjectState()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
CreateIdentityKey()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
CreateImpl()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
Discover(ISfcDependencyDiscoveryObjectSink)

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
DropImpl()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
GetChildCollection(String)

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
GetDomain()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
GetObjectFactory()

取得用來建立新實例的工廠物件。

GetPropertySet()

回傳 SfcInstance 物件的屬性集合。

(繼承來源 SfcInstance)
GetTypeMetadataImpl()

直接回傳正確的 TypeMetadata 類別,表示覆蓋的網域。 請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
InitializeUIPropertyState()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
MarkForDropImpl(Boolean)

回傳一個表示已存在物件要丟棄的值。 請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
MarkRootAsConnected()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
MoveImpl(SfcInstance)

表示在實例中要移動的新父物件。 請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
OnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs)

每當任何 SfcInstance 元資料的有效值更新時都會被調用。

(繼承來源 SfcInstance)
OnPropertyValueChanges(PropertyChangedEventArgs)

每當任何 SfcInstance 屬性的有效值更新時都會被調用。

(繼承來源 SfcInstance)
PostAlter(Object)

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
PostCreate(Object)

表示產生執行結果的預設實作。 請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
PostDrop(Object)

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
PostMove(Object)

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
PostRename(Object)

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
Refresh()

透過從伺服器讀取物件屬性來刷新物件屬性。

(繼承來源 SfcInstance)
RenameImpl(SfcKey)

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
ResetKey()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
Serialize(XmlWriter)

將實例序列化為 XML。

(繼承來源 SfcInstance)
ToString()

回傳 urn 實例的字串表示。

(繼承來源 SfcInstance)
UpdateUIPropertyState()

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
Validate()

表示基本子物件的驗證。 請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)

事件

名稱 Description
propertyChanged

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

(繼承來源 SfcInstance)
PropertyChanged

發生於屬性值變更時。

(繼承來源 SfcInstance)
propertyMetadataChanged

請勿在程式碼中直接提及此成員。 它支援 SQL Server 基礎架構。

當屬性元資料值改變時會發生。

(繼承來源 SfcInstance)
PropertyMetadataChanged

當某個物業的元資料發生變化時。

(繼承來源 SfcInstance)

適用於