Share via


DeployedDac.Id Property

Gets the ID value that uniquely identifies the DeployedDac object.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property Id As Integer
    Get
'Usage
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

Property Value

Type: System.Int32
A Int32 value that specifies the ID value identifying the DeployedDac object.

Examples

VC#

System.Console.WriteLine(deployedDac.Id);

VB

System.Console.WriteLine(deployedDac.Id)

PowerShell

Write-Host $deployedDac.Id