TargetServerCollection.Add Método
Adds a TargetServer to the collection.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
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
- server
Tipo: Microsoft.SqlServer.Management.Smo.Agent.TargetServer
The TargetServer to add to the collection.