Credential.ID Property

 

Applies To: SQL Server 2016 Preview

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

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)]
public int ID { get; }
public:
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::Matrix)]
property int ID {
    int get();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)>]
member ID : int with get
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Matrix)>
Public ReadOnly Property ID As Integer

Property Value

Type: System.Int32

An Int32 value that specifies the ID value that uniquely identifies the credential.

Remarks

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

Examples

Legacy Code Example

Setting Properties

See Also

Credential Class
Microsoft.SqlServer.Management.Smo Namespace
CREATE CREDENTIAL (Transact-SQL)
Credentials (Database Engine)

Return to top