Volume Class
The T:Microsoft.SqlServer.Management.Fabric.Volume type represents information about a volume or disk partition on a computer in the SQL Server Utility domain.
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Microsoft.SqlServer.Management.Sdk.Sfc::SfcInstance
Microsoft.SqlServer.Management.Utility::Volume
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR", true)] [PhysicalFacetAttribute] [EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)] [TypeConverterAttribute((LocalizableTypeConverter^::typeid))] public ref class Volume sealed : SfcInstance
| Name | Description | |
|---|---|---|
![]() | Volume() | Initializes a new instance of the T:Microsoft.SqlServer.Management.Fabric.Volume class. |
![]() | Volume(Computer^, String^) | Initializes a new instance of the T:Microsoft.SqlServer.Management.Fabric.Volume class with the specified connection. |
| Name | Description | |
|---|---|---|
![]() | AbstractIdentityKey | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | DeviceId | Gets the device Id of the volume instance. |
![]() | ID | Gets the ID value that uniquely identifies the volume. |
![]() | IdentityKey | Gets the T:Microsoft.SqlServer.Management.Fabric.Voukme.Key value that uniquely identifies the volume. |
![]() | Metadata | Returns metadata about the instance and its domain.(Inherited from SfcInstance.) |
![]() | Name | Gets the String value that specifies the name of the volume. |
![]() | Parent | Gets the T:Microsoft.SqlServer.Management.Fabric.Computer object value that specifies is the parent of the T:Microsoft.SqlServer.Management.Fabric.Volume object. |
![]() | Properties | Returns a collection instance properties.(Inherited from SfcInstance.) |
![]() | State | Returns the state of the SfcInstance object.(Inherited from 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.(Inherited from SfcInstance.) |
| Name | Description | |
|---|---|---|
![]() | CreateIdentityKey() | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | Discover(ISfcDependencyDiscoveryObjectSink^) | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetChildCollection(String^) | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | GetDomain() | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() ![]() | GetObjectFactory() | Gets the factory object used to create new instances. |
![]() | GetPropertySet() | Returns the set of properties for the SfcInstance object.(Inherited from SfcInstance.) |
![]() | GetType() | (Inherited from Object.) |
![]() | GetTypeMetadataImpl() | Indicates the domains that override by returning the right TypeMetadata class directly. Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | InitializeUIPropertyState() | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | OnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs^) | Invoked whenever the effective value of any SfcInstance metadata is updated. (Inherited from SfcInstance.) |
![]() | OnPropertyValueChanges(PropertyChangedEventArgs^) | Invoked whenever the effective value of any SfcInstance property is updated. (Inherited from SfcInstance.) |
![]() | Refresh() | Refreshes the object's properties by reading them from the server.(Inherited from SfcInstance.) |
![]() | ResetKey() | Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcInstance.) |
![]() | Serialize(XmlWriter^) | Serializes the instance to XML.(Inherited from SfcInstance.) |
![]() | ToString() | Returns a string representation of the instance Urn.(Inherited from SfcInstance.) |
| Name | Description | |
|---|---|---|
![]() | PropertyChanged | Occurs when a property value changes.(Inherited from SfcInstance.) |
![]() | PropertyMetadataChanged | Occurs when the metadata for a property has changed.(Inherited from SfcInstance.) |
The T:Microsoft.SqlServer.Management.Fabric.Volume object represents information about a volume or disk partition on a computer in the SQL Server Utility domain. Using the T:Microsoft.SqlServer.Management.Fabric.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.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





