Share via


JobServer.DropJobsByServer Method

Removes the job with the specified server.

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

Syntax

'Declaration
Public Sub DropJobsByServer ( _
    serverName As String _
)
'Usage
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
)

Parameters