Freigeben über


JobServer.ClearHostLoginAccount-Methode

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()

Hinweise

Diese Eigenschaft wird nur in SQL Server 7.0 und SQL Server 2000 unterstützt.

Beispiele

Planen von automatischen, administrativen Tasks im SQL Server-Agent

Siehe auch

Verweis

JobServer Klasse

Microsoft.SqlServer.Management.Smo.Agent-Namespace

Andere Ressourcen

Automatisierte Administrationstasks (SQL Server-Agent)

Planen von automatischen, administrativen Tasks im SQL Server-Agent

sp_delete_job (Transact-SQL)