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 login name.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub DropJobsByLogin ( _
login As String _
)
'Usage
Dim instance As JobServer
Dim login As String
instance.DropJobsByLogin(login)
public void DropJobsByLogin(
string login
)
public:
void DropJobsByLogin(
String^ login
)
member DropJobsByLogin :
login:string -> unit
public function DropJobsByLogin(
login : String
)
Parameters
- login
Type: System.String
A String value that specifies the login name.
Examples
Scheduling Automatic Administrative Tasks in SQL Server Agent
See Also
Reference
Microsoft.SqlServer.Management.Smo.Agent Namespace