다음을 통해 공유


ID 속성

Gets the ID value that uniquely identifies the volume.

네임스페이스:  Microsoft.SqlServer.Management.Utility
어셈블리:  Microsoft.SqlServer.Management.Utility(Microsoft.SqlServer.Management.Utility.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property ID As Integer
    Get
‘사용 방법
Dim instance As Volume
Dim value As Integer

value = instance.ID
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public int ID { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property int ID {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member ID : int
function get ID () : int

속성 값

유형: System. . :: . .Int32
A Int32 system value that is the ID value that uniquely identifies the volume.

VC#

System.Console.WriteLine(volume.ID);

VB

System.Console.WriteLine(volume.ID)

PowerShell

Write-Host $volume.ID