Delen via


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.