共用方式為


DeviceId 屬性

Gets the device Id of the volume instance.

命名空間:  Microsoft.SqlServer.Management.Utility
組件:  Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property DeviceId As String
    Get
'用途
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

屬性值

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