Metodo Add
Adds a TargetServer object to the TargetServerCollection collection.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Sub Add ( _
server As TargetServer _
)
'Utilizzo
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
)
Parametri
- server
Tipo: Microsoft.SqlServer.Management.Smo.Agent. . :: . .TargetServer
An TargetServer object that specifies the target server to be removed from the TargetServerCollection collection.
Vedere anche