Share via


Volume.ID Property

Definition

Gets the ID value that uniquely identifies the volume.

public:
 property int ID { int get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Data)]
public int ID { get; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Data)>]
member this.ID : int
Public ReadOnly Property ID As Integer

Property Value

A Int32 system value that is the ID value that uniquely identifies the volume.

Attributes

Examples

VC#

System.Console.WriteLine(volume.ID);  

VB

System.Console.WriteLine(volume.ID)  

PowerShell

Write-Host $volume.ID   

Applies to