Método JobServer.DropJobsByServer
Removes the job with the specified server.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub DropJobsByServer ( _
serverName As String _
)
'Uso
Dim instance As JobServer
Dim serverName As String
instance.DropJobsByServer(serverName)
public void DropJobsByServer(
string serverName
)
public:
void DropJobsByServer(
String^ serverName
)
member DropJobsByServer :
serverName:string -> unit
public function DropJobsByServer(
serverName : String
)
Parâmetros
- serverName
Tipo: System.String
A String value that specifies the name of the server.
Exemplos
Agendando tarefas administrativas automáticas no SQL Server Agent
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo.Agent