次の方法で共有


Id プロパティ

DeployedDac オブジェクトを一意に識別する ID 値を取得します。

名前空間:  Microsoft.SqlServer.Management.Utility
アセンブリ:  Microsoft.SqlServer.Management.Utility (Microsoft.SqlServer.Management.Utility.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property Id As Integer
    Get
'使用
Dim instance As DeployedDac
Dim value As Integer

value = instance.Id
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public int Id { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property int Id {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member Id : int
function get Id () : int

プロパティ値

型: System. . :: . .Int32
DeployedDac オブジェクトを識別する ID 値を示す Int32 値です。

使用例

VC#

System.Console.WriteLine(deployedDac.Id);

VB

System.Console.WriteLine(deployedDac.Id)

PowerShell

Write-Host $deployedDac.Id