Add 方法
Adds an ProxyAccount object to the ProxyAccountCollection collection.
命名空間: Microsoft.SqlServer.Management.Smo.Agent
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Add ( _
proxyAccount As ProxyAccount _
)
'用途
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
)
參數
- proxyAccount
型別:Microsoft.SqlServer.Management.Smo.Agent. . :: . .ProxyAccount
An ProxyAccount object that specifies the proxy account to be removed from the ProxyAccountCollection collection.