Freigeben über


Credential.ID-Eigenschaft

Gets the database ID value that uniquely identifies the credential.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ID As Integer 
    Get
'Usage
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

Eigenschaftswert

Typ: System.Int32
An Int32 value that specifies the ID value that uniquely identifies the credential.

Hinweise

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

Beispiele

Festlegen von Eigenschaften

Siehe auch

Verweis

Credential Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

CREATE CREDENTIAL (Transact-SQL)

Anmeldeinformationen (Datenbankmodul)