Freigeben über


ProxyAccount.CredentialID-Eigenschaft

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

Eigenschaftswert

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

Hinweise

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

Beispiele

Planen von automatischen, administrativen Tasks im SQL Server-Agent

Siehe auch

Verweis

ProxyAccount Klasse

Microsoft.SqlServer.Management.Smo.Agent-Namespace

Andere Ressourcen

Automatisierte Administrationstasks (SQL Server-Agent)

sp_add_proxy (Transact-SQL)

sp_grant_proxy_to_subsystem (Transact-SQL)