Share via


RegisteredSubscriber.DefaultMergeSchedule Property

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public ReadOnly Property DefaultMergeSchedule As ReplicationAgentSchedule 
    Get
'Usage
Dim instance As RegisteredSubscriber 
Dim value As ReplicationAgentSchedule 

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

Property Value

Type: Microsoft.SqlServer.Replication.ReplicationAgentSchedule
A ReplicationAgentSchedule object.

Remarks

In 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 DefaultMergeSchedule property is a read/write property. It is necessary to set this property individually.

See Also

Reference

RegisteredSubscriber Class

Microsoft.SqlServer.Replication Namespace