次の方法で共有


JobServer.ReassignJobsByLogin(String, String) Method

Definition

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.

Applies to