Compartir a través de


ProxyAccount Propiedad

Gets the proxy account associated with the instance of SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcObjectAttribute(SfcObjectRelationship.Object, SfcObjectCardinality.One)> _
Public ReadOnly Property ProxyAccount As ServerProxyAccount
    Get
'Uso
Dim instance As Server
Dim value As ServerProxyAccount

value = instance.ProxyAccount
[SfcObjectAttribute(SfcObjectRelationship.Object, SfcObjectCardinality.One)]
public ServerProxyAccount ProxyAccount { get; }
[SfcObjectAttribute(SfcObjectRelationship::Object, SfcObjectCardinality::One)]
public:
property ServerProxyAccount^ ProxyAccount {
    ServerProxyAccount^ get ();
}
[<SfcObjectAttribute(SfcObjectRelationship.Object, SfcObjectCardinality.One)>]
member ProxyAccount : ServerProxyAccount
function get ProxyAccount () : ServerProxyAccount

Valor de la propiedad

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerProxyAccount
A ServerProxyAccount object that specifies the proxy account associated with the instance of SQL Server.

Notas

The proxy account defines a security context in which a SQL Server Agent job step can run. The ProxyAccount property points to the ServerProxyAccount object. This object specifies the proxy account that is used by the instance of SQL Server Agent.