RegisteredSubscriber.DefaultDistributionSchedule 屬性
Gets the default schedule to be assigned to the Distribution Agent if it is not specified.
命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)
語法
'宣告
Public ReadOnly Property DefaultDistributionSchedule As ReplicationAgentSchedule
Get
'用途
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
屬性值
型別:Microsoft.SqlServer.Replication.ReplicationAgentSchedule
A ReplicationAgentSchedule object value that specifies the schedule.
備註
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.