Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- serverName
Type: System.String
A String value that specifies the name of the server.
Examples
Scheduling Automatic Administrative Tasks in SQL Server Agent
See Also
Reference
Microsoft.SqlServer.Management.Smo.Agent Namespace