Partager via


DefaultDistributionSchedule propriété

Gets the default schedule to be assigned to the Distribution Agent if it is not specified.

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

Syntaxe

'Déclaration
Public ReadOnly Property DefaultDistributionSchedule As ReplicationAgentSchedule
    Get
'Utilisation
Dim instance As RegisteredSubscriber
Dim value As ReplicationAgentSchedule

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

Valeur de la propriété

Type : Microsoft.SqlServer.Replication. . :: . .ReplicationAgentSchedule
A ReplicationAgentSchedule object value that specifies the schedule.

Notes

In Microsoft SQL Server 2005, it is no longer required to explicitly register a Subscriber at the Publisher. This property is provided for backward compatibility with previous versions of SQL Server.

The ReplicationAgentSchedule object is used to set a new schedule. Then the object's Update method is used if the RegisteredSubscriber object represents an existing object on the server.

The DefaultDistributionSchedule property is available with SQL Server 7.0 and SQL Server 2000.

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