Closed
Description
openedon Dec 21, 2022
While having a discussion in the context of "what happens when the owner of a job schedule is no longer a valid login?", I discovered that the Microsoft.SqlServer.Management.Smo.Agent.JobServer class doesn't have an OwnerLoginName property in the same way that the Job class (same namespace) does. By having this as a settable property, it would allow administrators to set the ownership of a job schedule and prevent potential mishaps.
As a means to set it, sp_update_job
already has a @owner_login_name
parameter so this feature request is to plumb that into the JobSchedule SMO object.
Thanks in advance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels