TargetServerGroupCollection.Add 方法
Adds a TargetServerGroup to the collection.
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub Add ( _
targetServerGroup As TargetServerGroup _
)
用法
Dim instance As TargetServerGroupCollection
Dim targetServerGroup As TargetServerGroup
instance.Add(targetServerGroup)
public void Add(
TargetServerGroup targetServerGroup
)
public:
void Add(
TargetServerGroup^ targetServerGroup
)
member Add :
targetServerGroup:TargetServerGroup -> unit
public function Add(
targetServerGroup : TargetServerGroup
)
参数
- targetServerGroup
类型:Microsoft.SqlServer.Management.Smo.Agent.TargetServerGroup
The TargetServerGroup to add to the collection.