Partilhar via


Método TargetServerGroupCollection.Add

Adds a TargetServerGroup to the collection.

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

Sintaxe

'Declaração
Public Sub Add ( _
    targetServerGroup As TargetServerGroup _
)
'Uso
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
)

Parâmetros

Consulte também

Referência

TargetServerGroupCollection Classe

Namespace Microsoft.SqlServer.Management.Smo.Agent