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))> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.Utility.FacetSR",  _
    True)> _
<PhysicalFacetAttribute> _
Public NotInheritable Class Volume _
    Inherits SfcInstance
‘사용 방법
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

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에서 상속됨)
보호된 속성 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에서 상속됨)

맨 위로 이동

메서드

  이름 설명
보호된 메서드 CreateIdentityKey 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 Discover 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 Equals (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에서 상속됨)
보호된 메서드 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에서 상속됨)
공용 메서드 Refresh Refreshes the object's properties by reading them from the server. (SfcInstance에서 상속됨)
보호된 메서드 ResetKey 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcInstance에서 상속됨)
공용 메서드 Serialize Serializes the instance to XML. (SfcInstance에서 상속됨)
공용 메서드 ToString Returns a string representation of the instance Urn. (SfcInstance에서 상속됨)

맨 위로 이동

이벤트

  이름 설명
공용 이벤트 PropertyChanged CLS-compliant event for property changes. (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) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.Utility 네임스페이스