语言

AgentProfile.Create 方法

定义

利用当前属性在 SQL Server 实例上创建复制代理配置文件。

public:
 void Create();
public void Create();
member this.Create : unit -> unit
Public Sub Create ()

注解

在执行任何涉及代理配置文件参数的操作前,应先调用该 Create 方法。

Create该方法只能由分发器中固定sysadmin服务器角色的成员调用。

调用 Create 等同于执行 sp_add_agent_profile(Transact-SQL)。

适用于

另请参阅