SetHostLoginAccount Método
Sets the SQL Server authentication account and password used to log in to SQL Server.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub SetHostLoginAccount ( _
loginName As String, _
password As String _
)
'Uso
Dim instance As JobServer
Dim loginName As String
Dim password As String
instance.SetHostLoginAccount(loginName, _
password)
public void SetHostLoginAccount(
string loginName,
string password
)
public:
void SetHostLoginAccount(
String^ loginName,
String^ password
)
member SetHostLoginAccount :
loginName:string *
password:string -> unit
public function SetHostLoginAccount(
loginName : String,
password : String
)
Parámetros
- loginName
Tipo: System. . :: . .String
A String value that specifies the SQL Server Authentication login name.
- password
Tipo: System. . :: . .String
A String value that specifies the SQL Server Authentication password.
Comentarios
Esta propiedad solamente se admite en SQL Server 7.0 y SQL Server 2000.
Vea también