Поделиться через


Свойство 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

Замечания

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

The AgentSchedule property is available with SQL Server 7.0, SQL Server 2000, and SQL Server 2005.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.