ProxyAccount.AddSubSystem Method

Adds a Microsoft SQL Server subsystem to the proxy account.

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

Syntax

'Declaration
Public Sub AddSubSystem ( _
    subSystem As AgentSubSystem _
)
'Usage
Dim instance As ProxyAccount 
Dim subSystem As AgentSubSystem

instance.AddSubSystem(subSystem)
public void AddSubSystem(
    AgentSubSystem subSystem
)
public:
void AddSubSystem(
    AgentSubSystem subSystem
)
member AddSubSystem : 
        subSystem:AgentSubSystem -> unit
public function AddSubSystem(
    subSystem : AgentSubSystem
)

Parameters

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)