ProxyAccountCollection.Add Method
Adds a ProxyAccount to the 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
- proxyAccount
Type: Microsoft.SqlServer.Management.Smo.Agent.ProxyAccount
The ProxyAccount to add to the collection.