共用方式為


DistributionSubscription.AgentSchedule 屬性

Gets the synchronization agent schedule for the subscription.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public ReadOnly Property AgentSchedule As ReplicationAgentSchedule 
    Get
'用途
Dim instance As DistributionSubscription 
Dim value As ReplicationAgentSchedule 

value = instance.AgentSchedule
public ReplicationAgentSchedule AgentSchedule { get; }
public:
property ReplicationAgentSchedule^ AgentSchedule {
    ReplicationAgentSchedule^ get ();
}
member AgentSchedule : ReplicationAgentSchedule
function get AgentSchedule () : ReplicationAgentSchedule

屬性值

型別:Microsoft.SqlServer.Replication.ReplicationAgentSchedule
The synchronization agent schedule for the subscription.

備註

The AgentSchedule property can only be retrieved by members of the db_owner fixed database role on the distribution database.

請參閱

參考

DistributionSubscription 類別

Microsoft.SqlServer.Replication 命名空間