Share via


ProxyAccount.CredentialID Property

Gets the ID value that uniquely identifies the proxy agent credential.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property CredentialID As Integer
    Get
'Usage
Dim instance As ProxyAccount
Dim value As Integer

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

Property Value

Type: System.Int32
An Int32 value that specifies the ID value that uniquely identifies the proxy account credential.

Remarks

The proxy account credential is required to allow the proxy account access to the subsystems for Microsoft SQL Server authenticated logins.