Share via


Propriété ID

Gets the ID value that uniquely identifies the server role.

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

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ID As Integer
    Get
'Utilisation
Dim instance As ServerRole
Dim value As Integer

value = instance.ID
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int ID { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int ID {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ID : int
function get ID () : int

Valeur de propriété

Type : System. . :: . .Int32
An Int32 value that specifies the ID value that uniquely identifies the server role.