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.