Partager via


Propriété Id

Gets the ID value that uniquely identifies the DeployedDac object.

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property Id As Integer
    Get
'Utilisation
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

Valeur de propriété

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

Exemples

VC#

System.Console.WriteLine(deployedDac.Id);

VB

System.Console.WriteLine(deployedDac.Id)

PowerShell

Write-Host $deployedDac.Id