次の方法で共有


Volume.DeviceId プロパティ

ボリューム インスタンスのデバイス ID を取得します。

名前空間:  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
デバイス ID を含む文字列値です。

関連項目

参照

Volume クラス

Microsoft.SqlServer.Management.Utility 名前空間