Share via


ProxyAccount.CredentialIdentity Property

Gets the credential identity.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property CredentialIdentity As String 
    Get
'Usage
Dim instance As ProxyAccount 
Dim value As String 

value = instance.CredentialIdentity
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string CredentialIdentity { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ CredentialIdentity {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member CredentialIdentity : string
function get CredentialIdentity () : String

Property Value

Type: System.String
A String value that specifies the credential identity.

Remarks

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

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

ProxyAccount Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

sp_add_proxy (Transact-SQL)

sp_grant_proxy_to_subsystem (Transact-SQL)