Volume.ID Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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