DistributionSubscription.AgentSchedule Property
Gets the synchronization agent schedule for the subscription.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public ReadOnly Property AgentSchedule As ReplicationAgentSchedule
Get
'Usage
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
Property Value
Type: Microsoft.SqlServer.Replication.ReplicationAgentSchedule
A ReplicationAgentSchedule object.
Remarks
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.