Freigeben über


Duration-Eigenschaft

Gets or sets the length of the session, in seconds.

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

Syntax

'Declaration
Public Property Duration As Integer
    Get
    Set
'Usage
Dim instance As MergeSessionSummary
Dim value As Integer

value = instance.Duration

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

Eigenschaftswert

Typ: System. . :: . .Int32
An Int32 value that represents the number of seconds.

Hinweise

This property can be retrieved or set by any user.

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