JobServer.ReassignJobsByLogin(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The ReAssignJobsByLogin method changes ownership for any SQLServerAgent jobs currently owned by a login.
public void ReassignJobsByLogin (string oldLogin, string newLogin);
member this.ReassignJobsByLogin : string * string -> unit
Public Sub ReassignJobsByLogin (oldLogin As String, newLogin As String)
Parameters
- oldLogin
- String
String that specifies a login currently owning jobs.
- newLogin
- String
String that specifies a login with job creation rights. The login specified will receive ownership.