语言

Subscription.AgentJobId 属性

定义

获取用于同步订阅的代理任务ID。

public:
 property System::String ^ AgentJobId { System::String ^ get(); };
public string AgentJobId { get; }
member this.AgentJobId : string
Public ReadOnly Property AgentJobId As String

属性值

代理的 ID。

注解

该 <xref:Microsoft.SqlServer.Replication.Subscription.AgentJobID%2A> 属性是只读属性。

<xref:Microsoft.SqlServer.Replication.Subscription.AgentJobID%2A>该属性只能由Publisher的系统管理员固定服务器角色成员、发布数据库中db_owner固定数据库角色的成员,或创建订阅的用户检索。

收回 <xref:Microsoft.SqlServer.Replication.Subscription.AgentJobID%2A> 财产等同于执行 sp_helpsubscriptionsp_helpmergesubscription

适用于