AgentProfile Конструкторы
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Инициализирует новый экземпляр класса AgentProfile.
Перегрузки
AgentProfile() |
Инициализирует новый экземпляр класса AgentProfile. |
AgentProfile(Int32, ServerConnection) |
Инициализирует новый экземпляр класса AgentProfile с заданными значением идентификатора профиля агента и соединением с сервером. |
AgentProfile(String, ServerConnection) |
Инициализирует новый экземпляр класса AgentProfile с заданными именем профиля и соединением с сервером. |
AgentProfile()
Инициализирует новый экземпляр класса AgentProfile.
public:
AgentProfile();
public AgentProfile ();
Public Sub New ()
Применяется к
AgentProfile(Int32, ServerConnection)
Инициализирует новый экземпляр класса AgentProfile с заданными значением идентификатора профиля агента и соединением с сервером.
public:
AgentProfile(int profileID, Microsoft::SqlServer::Management::Common::ServerConnection ^ connectionContext);
public AgentProfile (int profileID, Microsoft.SqlServer.Management.Common.ServerConnection connectionContext);
new Microsoft.SqlServer.Replication.AgentProfile : int * Microsoft.SqlServer.Management.Common.ServerConnection -> Microsoft.SqlServer.Replication.AgentProfile
Public Sub New (profileID As Integer, connectionContext As ServerConnection)
Параметры
- connectionContext
- ServerConnection
Объект ServerConnection , указывающий подключение к экземпляру MicrosoftSQL Server.
Применяется к
AgentProfile(String, ServerConnection)
Инициализирует новый экземпляр класса AgentProfile с заданными именем профиля и соединением с сервером.
public:
AgentProfile(System::String ^ name, Microsoft::SqlServer::Management::Common::ServerConnection ^ connectionContext);
public AgentProfile (string name, Microsoft.SqlServer.Management.Common.ServerConnection connectionContext);
new Microsoft.SqlServer.Replication.AgentProfile : string * Microsoft.SqlServer.Management.Common.ServerConnection -> Microsoft.SqlServer.Replication.AgentProfile
Public Sub New (name As String, connectionContext As ServerConnection)
Параметры
- connectionContext
- ServerConnection
ОбъектServerConnection, указывающий подключение к экземпляру SQL Server, который является распространителем.