Share via


ServerProxyAccount Class

The ServerProxyAccount class represents the implementation of a proxy account on an instance of Microsoft SQL Server. The ProxyAccount object allows for impersonation of job step execution. Created by the system administrator, it can be further be assigned to a login or a server role or a database role and one of the subsystems, except for Transact-SQL.

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public NotInheritable Class ServerProxyAccount
    Inherits SqlSmoObject
    Implements IAlterable
public sealed class ServerProxyAccount : SqlSmoObject, IAlterable
public ref class ServerProxyAccount sealed : public SqlSmoObject, IAlterable
public final class ServerProxyAccount extends SqlSmoObject implements IAlterable
public final class ServerProxyAccount extends SqlSmoObject implements IAlterable

Notas

With the ServerProxyAccount object you can:

  • Allow impersonation of job step execution.

  • Assign the proxy account to a login, server role, or database role.

  • Assign the proxy account to a subsystem (except Transact-SQL)

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Management.Smo.SmoObjectBase
     Microsoft.SqlServer.Management.Smo.SqlSmoObject
      Microsoft.SqlServer.Management.Smo.ServerProxyAccount

Ejemplo

How to: Allow User Access to Subsystem by Using a Proxy Account in Visual Basic .NET

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

ServerProxyAccount Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Scheduling Automatic Administrative Tasks in SQL Server Agent