Condividi tramite


Proprietà Duration

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

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Sintassi

'Dichiarazione
Public Property Duration As Integer
    Get
    Set
'Utilizzo
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)

Valore proprietà

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

Osservazioni

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.