Add 方法
Adds a TargetServer object to the TargetServerCollection collection.
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub Add ( _
server As TargetServer _
)
用法
Dim instance As TargetServerCollection
Dim server As TargetServer
instance.Add(server)
public void Add(
TargetServer server
)
public:
void Add(
TargetServer^ server
)
member Add :
server:TargetServer -> unit
public function Add(
server : TargetServer
)
参数
- server
类型:Microsoft.SqlServer.Management.Smo.Agent. . :: . .TargetServer
An TargetServer object that specifies the target server to be removed from the TargetServerCollection collection.