Właściwość IServerPerformanceFacet.LightweightPoolingEnabled
Pobiera wartość logiczna, która określa właściwość LightweightPoolingEnabled dla wystąpienie SQL Server.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
<DisplayDescriptionKeyAttribute("LightweightPoolingEnabledDesc")> _
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
<DisplayNameKeyAttribute("LightweightPoolingEnabledName")> _
Property LightweightPoolingEnabled As Boolean
Get
Set
'Użycie
Dim instance As IServerPerformanceFacet
Dim value As Boolean
value = instance.LightweightPoolingEnabled
instance.LightweightPoolingEnabled = value
[DisplayDescriptionKeyAttribute("LightweightPoolingEnabledDesc")]
[PostConfigurationActionAttribute(PostConfigurationAction.RestartService)]
[DisplayNameKeyAttribute("LightweightPoolingEnabledName")]
bool LightweightPoolingEnabled { get; set; }
[DisplayDescriptionKeyAttribute(L"LightweightPoolingEnabledDesc")]
[PostConfigurationActionAttribute(PostConfigurationAction::RestartService)]
[DisplayNameKeyAttribute(L"LightweightPoolingEnabledName")]
property bool LightweightPoolingEnabled {
bool get ();
void set (bool value);
}
[<DisplayDescriptionKeyAttribute("LightweightPoolingEnabledDesc")>]
[<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)>]
[<DisplayNameKeyAttribute("LightweightPoolingEnabledName")>]
abstract LightweightPoolingEnabled : bool with get, set
function get LightweightPoolingEnabled () : boolean
function set LightweightPoolingEnabled (value : boolean)
Wartość właściwości
Typ: System.Boolean
Boolean
Zobacz także