Condividi tramite


Proprietà ProxyAccount.CredentialID

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property CredentialID As Integer 
    Get
'Utilizzo
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

Valore proprietà

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

Osservazioni

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

Esempi

Pianificazione delle attività amministrative automatiche in SQL Server Agent

Vedere anche

Riferimento

ProxyAccount Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Agent

Altre risorse

Automatizzazione delle attività amministrative (SQL Server Agent)

sp_add_proxy (Transact-SQL)

sp_grant_proxy_to_subsystem (Transact-SQL)