Share via


JobServer.ClearMsxAccount Method

Clears the master server login account and uses integrated security to log in to the master server.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub ClearMsxAccount
'Usage
Dim instance As JobServer

instance.ClearMsxAccount()
public void ClearMsxAccount()
public:
void ClearMsxAccount()
member ClearMsxAccount : unit -> unit
public function ClearMsxAccount()

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

JobServer Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

sp_delete_job (Transact-SQL)