Partager via


Propriété AvailabilityReplica.SessionTimeout

Gets or sets the timeout of the availability replica.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property SessionTimeout As Integer 
    Get 
    Set
'Utilisation
Dim instance As AvailabilityReplica 
Dim value As Integer 

value = instance.SessionTimeout

instance.SessionTimeout = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int SessionTimeout { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int SessionTimeout {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member SessionTimeout : int with get, set
function get SessionTimeout () : int 
function set SessionTimeout (value : int)

Valeur de propriété

Type : System.Int32
The timeout of the availability replica.

Voir aussi

Référence

AvailabilityReplica Classe

Espace de noms Microsoft.SqlServer.Management.Smo