Dela via


Volume.DeviceId Property

Gets the device Id of the volume instance.

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property DeviceId As String
    Get
'Usage
Dim instance As Volume
Dim value As String

value = instance.DeviceId
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public string DeviceId { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property String^ DeviceId {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member DeviceId : string
function get DeviceId () : String

Property Value

Type: System.String
A string value that contains the device Id.