JobServer.ClearHostLoginAccount Method
Clears the host login account and uses integrated security to log in to SQL Server.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub ClearHostLoginAccount
'Usage
Dim instance As JobServer
instance.ClearHostLoginAccount()
public void ClearHostLoginAccount()
public:
void ClearHostLoginAccount()
member ClearHostLoginAccount : unit -> unit
public function ClearHostLoginAccount()
Remarks
This property is supported only in SQL Server 7.0 and SQL Server 2000.
Examples
Scheduling Automatic Administrative Tasks in SQL Server Agent
See Also
Reference
Microsoft.SqlServer.Management.Smo.Agent Namespace
Other Resources
Automated Administration Tasks (SQL Server Agent)
Scheduling Automatic Administrative Tasks in SQL Server Agent