共用方式為


Id 屬性

Gets the ID value that uniquely identifies the DeployedDac object.

命名空間:  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
A Int32 value that specifies the ID value identifying the DeployedDac object.

範例

VC#

System.Console.WriteLine(deployedDac.Id);

VB

System.Console.WriteLine(deployedDac.Id)

PowerShell

Write-Host $deployedDac.Id