Share via


TargetServerGroupCollection.Add Method

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Add ( _
    targetServerGroup As TargetServerGroup _
)
'Usage
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
)