Partager via


Duration propriété

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

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (dans Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public Property Duration As Integer
    Get
    Set
'Utilisation
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)

Valeur de la propriété

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

Notes

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.