Właściwość DeployedDac.Id
Pobiera wartość Identyfikatora, który unikatowo identyfikuje DeployedDac obiektu.
Przestrzeń nazw: Microsoft.SqlServer.Management.Utility
Zestaw: Microsoft.SqlServer.Management.Utility (w Microsoft.SqlServer.Management.Utility.dll)
Składnia
'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property Id As Integer
Get
'Użycie
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
Wartość właściwości
Typ: System.Int32
A Int32 wartość określająca, identyfikowanie wartość Identyfikatora DeployedDac obiektu.
Przykłady
VC #
System.Console.WriteLine(deployedDac.Id);
VB
System.Console.WriteLine(deployedDac.Id)
PowerShell
Write-Host $deployedDac.Id