Метод MsxEnlist
Enlists SQL Server Agent as a target server with the specified master server in a multiserver administration.
Пространство имен: Microsoft.SqlServer.Management.Smo.Agent
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub MsxEnlist ( _
masterServer As String, _
location As String _
)
'Применение
Dim instance As JobServer
Dim masterServer As String
Dim location As String
instance.MsxEnlist(masterServer, location)
public void MsxEnlist(
string masterServer,
string location
)
public:
void MsxEnlist(
String^ masterServer,
String^ location
)
member MsxEnlist :
masterServer:string *
location:string -> unit
public function MsxEnlist(
masterServer : String,
location : String
)
Параметры
- masterServer
Тип: System. . :: . .String
A String value that specifies the name of the master server.
- location
Тип: System. . :: . .String
A String value that specifies the master server location.