语言

DistributionSubscription.AgentJobId 属性

定义

获取同步订阅的 SQL Server 代理 作业的 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.DistributionSubscription.AgentJobID%2A>该属性只能由分布数据库中固定db_owner数据库角色的成员检索。

适用于