Export (0) Print
Expand All

JobServer.SetHostLoginAccount Method

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: String
A String value that specifies the SQL Server Authentication login name.
password
Type: 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.

Community Additions

ADD
Show:
© 2014 Microsoft