Поделиться через


Метод SetMsxAccount (String, String)

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

Пространство имен:  Microsoft.SqlServer.Management.Smo.Agent
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Sub SetMsxAccount ( _
    account As String, _
    password As String _
)
'Применение
Dim instance As JobServer
Dim account As String
Dim password As String

instance.SetMsxAccount(account, password)
public void SetMsxAccount(
    string account,
    string password
)
public:
void SetMsxAccount(
    String^ account, 
    String^ password
)
member SetMsxAccount : 
        account:string * 
        password:string -> unit 
public function SetMsxAccount(
    account : String, 
    password : String
)

Параметры

Замечания

This method is supported on SQL Server 2000 only.