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)

适用于