Partager via


Propriété Credential.ID

Gets the database ID value that uniquely identifies the credential.

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 Credential 
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 credential.

Notes

This property corresponds to the credential ID value held in the system tables.

Exemples

Définition de propriétés

Voir aussi

Référence

Credential Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

CREATE CREDENTIAL (Transact-SQL)

Informations d'identification (moteur de base de données)