Condividi tramite


Proprietà Id

Gets the ID value that uniquely identifies the DeployedDac object.

Spazio dei nomi  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Sintassi

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

Valore proprietà

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

Esempi

VC#

System.Console.WriteLine(deployedDac.Id);

VB

System.Console.WriteLine(deployedDac.Id)

PowerShell

Write-Host $deployedDac.Id