Compartir a través de


ProxyAccount.Parent Propiedad

Gets or sets the JobServer object that is the parent of the ProxyAccount object.

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

Sintaxis

'Declaración
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As JobServer 
    Get 
    Set
'Uso
Dim instance As ProxyAccount 
Dim value As JobServer 

value = instance.Parent

instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public JobServer Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property JobServer^ Parent {
    JobServer^ get ();
    void set (JobServer^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : JobServer with get, set
function get Parent () : JobServer 
function set Parent (value : JobServer)

Valor de la propiedad

Tipo: Microsoft.SqlServer.Management.Smo.Agent.JobServer
A JobServer object that is the parent of the ProxyAccount object.

Comentarios

This property can only be set before the object is created.

Ejemplos

Programar tareas administrativas automáticas en el Agente SQL Server

Vea también

Referencia

ProxyAccount Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo.Agent

Otros recursos

Tareas administrativas automatizadas (Agente SQL Server)

sp_add_proxy (Transact-SQL)

sp_grant_proxy_to_subsystem (Transact-SQL)