Share via


ProxyAccountCollection.Add Method

Adds an ProxyAccount object to the ProxyAccountCollection collection.

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

Syntax

'Declaration
Public Sub Add ( _
    proxyAccount As ProxyAccount _
)
'Usage
Dim instance As ProxyAccountCollection
Dim proxyAccount As ProxyAccount

instance.Add(proxyAccount)
public void Add(
    ProxyAccount proxyAccount
)
public:
void Add(
    ProxyAccount^ proxyAccount
)
member Add : 
        proxyAccount:ProxyAccount -> unit 
public function Add(
    proxyAccount : ProxyAccount
)

Parameters