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 对象,你可以:

  • 确定该体积是否为挂载点及其位置。

  • 确定总磁盘空间、使用空间和空间利用情况。

构造函数

名称 说明
Volume()

初始化 Volume 类的新实例。

Volume(Computer, String)

使用指定的连接初始化类的新实例 Volume

属性

名称 说明
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)

方法

名称 说明
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)

活动

名称 说明
propertyChanged

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

(继承自 SfcInstance)
PropertyChanged

当属性值更改时发生。

(继承自 SfcInstance)
propertyMetadataChanged

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。

当属性元数据值发生变化时,就会发生这种情况。

(继承自 SfcInstance)
PropertyMetadataChanged

当某个属性的元数据发生变化时,就会发生这种情况。

(继承自 SfcInstance)

适用于