Share via


ReplicationAgentSchedule.ActiveEndDate Property

Gets or sets the date the scheduled activity is to stop running.

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

Syntax

'Declaration
Public Property ActiveEndDate As Integer 
    Get 
    Set
'Usage
Dim instance As ReplicationAgentSchedule 
Dim value As Integer 

value = instance.ActiveEndDate

instance.ActiveEndDate = value
public int ActiveEndDate { get; set; }
public:
property int ActiveEndDate {
    int get ();
    void set (int value);
}
member ActiveEndDate : int with get, set
function get ActiveEndDate () : int 
function set ActiveEndDate (value : int)

Property Value

Type: System.Int32
An Int32 value that represents a date.

Remarks

The date is represented as a scaled long integer. The year is scaled by 10,000, the month is scaled by 100, and the day is not scaled. For example, the date April 19, 2004 is represented by the integer value 20040419.

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

See Also

Reference

ReplicationAgentSchedule Class

Microsoft.SqlServer.Replication Namespace