Partager via


Propriété AgentSchedule

Gets the synchronization agent schedule for the subscription.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property AgentSchedule As ReplicationAgentSchedule
    Get
'Utilisation
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

Notes

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.