Partilhar via


Método Add

Adds a TargetServer object to the TargetServerCollection collection.

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

Sintaxe

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

Parâmetros