Freigeben über


DistributionSubscription.AgentSchedule-Eigenschaft

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

Eigenschaftswert

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

Hinweise

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

Siehe auch

Verweis

DistributionSubscription Klasse

Microsoft.SqlServer.Replication-Namespace