Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
The Volume type represents information about a volume or disk partition on a computer in the SQL Server Utility domain.
Vererbungshierarchie
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
Microsoft.SqlServer.Management.Utility.Volume
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR", _
True)> _
<PhysicalFacetAttribute> _
Public NotInheritable Class Volume _
Inherits SfcInstance
'Usage
Dim instance As Volume
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR",
true)]
[PhysicalFacetAttribute]
public sealed class Volume : SfcInstance
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.Utility.FacetSR",
true)]
[PhysicalFacetAttribute]
public ref class Volume sealed : public SfcInstance
[<SealedAttribute>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR",
true)>]
[<PhysicalFacetAttribute>]
type Volume =
class
inherit SfcInstance
end
public final class Volume extends SfcInstance
Der Volume-Typ macht folgende Elemente verfügbar.
Konstruktoren
| Name | Beschreibung | |
|---|---|---|
![]() |
Volume() | Initializes a new instance of the Volume class. |
![]() |
Volume(Computer, String) | Initializes a new instance of the Volume class with the specified connection. |
Zum Anfang
Eigenschaften
| Name | Beschreibung | |
|---|---|---|
![]() |
AbstractIdentityKey | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von 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. (Geerbt von 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. (Geerbt von SfcInstance.) |
![]() |
State | Returns the state of the SfcInstance object. (Geerbt von 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. (Geerbt von SfcInstance.) |
Zum Anfang
Methoden
| Name | Beschreibung | |
|---|---|---|
![]() |
CreateIdentityKey | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) |
![]() |
Discover | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) |
![]() |
Equals | (Geerbt von Object.) |
![]() |
GetChildCollection | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) |
![]() |
GetDomain | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) |
![]() |
GetHashCode | (Geerbt von Object.) |
![]() ![]() |
GetObjectFactory | Gets the factory object used to create new instances. |
![]() |
GetPropertySet | Returns the set of properties for the SfcInstance object. (Geerbt von SfcInstance.) |
![]() |
GetType | (Geerbt von Object.) |
![]() |
GetTypeMetadataImpl | Indicates the domains that override by returning the right TypeMetadata class directly. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) |
![]() |
InitializeUIPropertyState | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) |
![]() |
OnPropertyMetadataChanges | Invoked whenever the effective value of any SfcInstance metadata is updated. (Geerbt von SfcInstance.) |
![]() |
OnPropertyValueChanges | Invoked whenever the effective value of any SfcInstance property is updated. (Geerbt von SfcInstance.) |
![]() |
Refresh | Refreshes the object's properties by reading them from the server. (Geerbt von SfcInstance.) |
![]() |
ResetKey | Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Geerbt von SfcInstance.) |
![]() |
Serialize | Serializes the instance to XML. (Geerbt von SfcInstance.) |
![]() |
ToString | Returns a string representation of the instance Urn. (Geerbt von SfcInstance.) |
Zum Anfang
Ereignisse
| Name | Beschreibung | |
|---|---|---|
![]() |
PropertyChanged | CLS-compliant event for property changes. (Geerbt von SfcInstance.) |
![]() |
PropertyMetadataChanged | CLS-compliant event for property metadata changes. (Geerbt von SfcInstance.) |
Zum Anfang
Hinweise
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.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)