Dela 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(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property CredentialID As Integer
    Get
'Usage
Dim instance As ProxyAccount
Dim value As Integer

value = instance.CredentialID
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int CredentialID { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int CredentialID {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
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.