AvailabilityReplica.SessionTimeout 屬性
Gets or sets the timeout of the availability replica.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property SessionTimeout As Integer
Get
Set
'用途
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)
屬性值
型別:System.Int32
The timeout of the availability replica.