Udostępnij przez


JobServer.SetMsxAccount Method (String, String)

Sets the name of the credentials used to log in to the master server in multiserver administration.

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

Syntax

'Deklaracja
Public Sub SetMsxAccount ( _
    account As String, _
    password As String _
)
public void SetMsxAccount (
    string account,
    string password
)
public:
void SetMsxAccount (
    String^ account, 
    String^ password
)
public void SetMsxAccount (
    String account, 
    String password
)
public function SetMsxAccount (
    account : String, 
    password : String
)

Parameters

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

Remarks

This method is supported on SQL Server 2000 only.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.