JobServer.SetHostLoginAccount Method (String, String)

 

Sets the SQL Server authentication account and password used to log in to SQL Server.

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

public void SetHostLoginAccount(
	string loginName,
	string password
)

Parameters

loginName
Type: System.String

A String value that specifies the SQL Server Authentication login name.

password
Type: System.String

A String value that specifies the SQL Server Authentication password.

This property is supported only in SQL Server 7.0 and SQL Server 2000.

Return to top
Show: