Classe Volume
The Volume type represents information about a volume or disk partition on a computer in the SQL Server Utility domain.
Gerarchia di ereditarietà
System. . :: . .Object
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance
Microsoft.SqlServer.Management.Utility..::..Volume
Spazio dei nomi Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Sintassi
'Dichiarazione
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<PhysicalFacetAttribute> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR", _
True)> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
Public NotInheritable Class Volume _
Inherits SfcInstance
'Utilizzo
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
Nel tipo Volume sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
![]() |
Volume() () () () | Initializes a new instance of the Volume class. |
![]() |
Volume(Computer, String) | Initializes a new instance of the Volume class with the specified connection. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
![]() |
AbstractIdentityKey | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da 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. Ereditato da 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. Ereditato da SfcInstance. |
![]() |
PropertyStorageProvider | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
State | Returns the state of the SfcInstance object. Ereditato da 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. Ereditato da SfcInstance. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
AlterImpl | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
CheckObjectCreated | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
CheckObjectState | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
CreateIdentityKey | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
CreateImpl | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
Discover | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
DropImpl | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
Equals | Ereditato da Object. |
![]() |
Finalize | Ereditato da Object. |
![]() |
GetChildCollection | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
GetDomain | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
GetHashCode | Ereditato da Object. |
![]() ![]() |
GetObjectFactory | Gets the factory object used to create new instances. |
![]() |
GetPropertySet | Returns the set of properties for the SfcInstance object. Ereditato da SfcInstance. |
![]() |
GetType | Ereditato da Object. |
![]() |
GetTypeMetadataImpl | Indicates the domains that override by returning the right TypeMetadata class directly. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
InitializeUIPropertyState | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
MarkForDropImpl | Returns a value that indicates the existing objects to be dropped. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
MarkRootAsConnected | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
MemberwiseClone | Ereditato da Object. |
![]() |
MoveImpl | Indicates the new parent object to move in an instance. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
OnPropertyMetadataChanges | Invoked whenever the effective value of any SfcInstance metadata is updated. Ereditato da SfcInstance. |
![]() |
OnPropertyValueChanges | Invoked whenever the effective value of any SfcInstance property is updated. Ereditato da SfcInstance. |
![]() |
PostAlter | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
PostCreate | Indicates the default implementor that creates the execution result. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
PostDrop | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
PostMove | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
PostRename | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
Refresh | Refreshes the object's properties by reading them from the server. Ereditato da SfcInstance. |
![]() |
RenameImpl | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
ResetKey | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
Serialize | Serializes the instance to XML. Ereditato da SfcInstance. |
![]() |
ToString | Returns a string representation of the instance Urn. Ereditato da SfcInstance. |
![]() |
UpdateUIPropertyState | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
Validate | Indicates the basic child object's validation. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
In alto
Eventi
Nome | Descrizione | |
---|---|---|
![]() |
propertyChanged | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
PropertyChanged | CLS-compliant event for property changes. Ereditato da SfcInstance. |
![]() |
propertyMetadataChanged | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcInstance. |
![]() |
PropertyMetadataChanged | CLS-compliant event for property metadata changes. Ereditato da SfcInstance. |
In alto
Osservazioni
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.
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.