Volume 类
The Volume type represents information about a volume or disk partition on a computer in the SQL Server Utility domain.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance
Microsoft.SqlServer.Management.Utility..::..Volume
命名空间: Microsoft.SqlServer.Management.Utility
程序集: Microsoft.SqlServer.Management.Utility(在 Microsoft.SqlServer.Management.Utility.dll 中)
语法
声明
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<PhysicalFacetAttribute> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR", _
True)> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
Public NotInheritable Class Volume _
Inherits SfcInstance
用法
Dim instance As Volume
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[PhysicalFacetAttribute]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR",
true)]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
public sealed class Volume : SfcInstance
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[PhysicalFacetAttribute]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Utility.FacetSR",
true)]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
public ref class Volume sealed : public SfcInstance
[<SealedAttribute>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<PhysicalFacetAttribute>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR",
true)>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
type Volume =
class
inherit SfcInstance
end
public final class Volume extends SfcInstance
Volume 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
![]() |
Volume() () () () | Initializes a new instance of the Volume class. |
![]() |
Volume(Computer, String) | Initializes a new instance of the Volume class with the specified connection. |
页首
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
AbstractIdentityKey | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
DeviceId | Gets the device Id of the volume instance. |
![]() |
ID | Gets the ID value that uniquely identifies the volume. |
![]() |
IdentityKey | Gets the Key value that uniquely identifies the volume. |
![]() |
Metadata | Returns metadata about the instance and its domain. (从 SfcInstance 继承。) |
![]() |
Name | Gets the String value that specifies the name of the volume. |
![]() |
Parent | Gets the Computer object value that specifies is the parent of the Volume object. |
![]() |
Properties | Returns a collection instance properties. (从 SfcInstance 继承。) |
![]() |
PropertyStorageProvider | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
State | Returns the state of the SfcInstance object. (从 SfcInstance 继承。) |
![]() |
TotalSpace | Gets the total storage capacity of the volume in megabytes. |
![]() |
TotalSpaceUsed | Gets the total used storage on the volume in megabytes. |
![]() |
TotalSpaceUtilization | Gets the space used as a percentage of the total storage capacity of the volume. |
![]() |
Urn | Returns the uniform resource name of the SfcInstance object. (从 SfcInstance 继承。) |
页首
方法
| 名称 | 说明 | |
|---|---|---|
![]() |
AlterImpl | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
CheckObjectCreated | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
CheckObjectState | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
CreateIdentityKey | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
CreateImpl | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
Discover | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
DropImpl | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetChildCollection | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
GetDomain | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() ![]() |
GetObjectFactory | Gets the factory object used to create new instances. |
![]() |
GetPropertySet | Returns the set of properties for the SfcInstance object. (从 SfcInstance 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
GetTypeMetadataImpl | Indicates the domains that override by returning the right TypeMetadata class directly. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
InitializeUIPropertyState | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
MarkForDropImpl | Returns a value that indicates the existing objects to be dropped. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
MarkRootAsConnected | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() |
MoveImpl | Indicates the new parent object to move in an instance. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
OnPropertyMetadataChanges | Invoked whenever the effective value of any SfcInstance metadata is updated. (从 SfcInstance 继承。) |
![]() |
OnPropertyValueChanges | Invoked whenever the effective value of any SfcInstance property is updated. (从 SfcInstance 继承。) |
![]() |
PostAlter | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
PostCreate | Indicates the default implementor that creates the execution result. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
PostDrop | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
PostMove | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
PostRename | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
Refresh | Refreshes the object's properties by reading them from the server. (从 SfcInstance 继承。) |
![]() |
RenameImpl | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
ResetKey | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
Serialize | Serializes the instance to XML. (从 SfcInstance 继承。) |
![]() |
ToString | Returns a string representation of the instance Urn. (从 SfcInstance 继承。) |
![]() |
UpdateUIPropertyState | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
Validate | Indicates the basic child object's validation. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
页首
事件
| 名称 | 说明 | |
|---|---|---|
![]() |
propertyChanged | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
PropertyChanged | CLS-compliant event for property changes. (从 SfcInstance 继承。) |
![]() |
propertyMetadataChanged | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。) |
![]() |
PropertyMetadataChanged | CLS-compliant event for property metadata changes. (从 SfcInstance 继承。) |
页首
注释
The Volume object represents information about a volume or disk partition on a computer in the SQL Server Utility domain. Using the Volume object, you can:
Determine whether the volume is a mount point, and its location.
Determine the total disk space, the space used and the space utilization.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)