Freigeben über


IServerPerformanceFacet.LightweightPoolingEnabled-Eigenschaft

Gets a Boolean that specifies the LightweightPoolingEnabled property for an instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
<DisplayNameKeyAttribute("LightweightPoolingEnabledName")> _
<DisplayDescriptionKeyAttribute("LightweightPoolingEnabledDesc")> _
Property LightweightPoolingEnabled As Boolean 
    Get 
    Set
'Usage
Dim instance As IServerPerformanceFacet 
Dim value As Boolean 

value = instance.LightweightPoolingEnabled

instance.LightweightPoolingEnabled = value
[PostConfigurationActionAttribute(PostConfigurationAction.RestartService)]
[DisplayNameKeyAttribute("LightweightPoolingEnabledName")]
[DisplayDescriptionKeyAttribute("LightweightPoolingEnabledDesc")]
bool LightweightPoolingEnabled { get; set; }
[PostConfigurationActionAttribute(PostConfigurationAction::RestartService)]
[DisplayNameKeyAttribute(L"LightweightPoolingEnabledName")]
[DisplayDescriptionKeyAttribute(L"LightweightPoolingEnabledDesc")]
property bool LightweightPoolingEnabled {
    bool get ();
    void set (bool value);
}
[<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)>]
[<DisplayNameKeyAttribute("LightweightPoolingEnabledName")>]
[<DisplayDescriptionKeyAttribute("LightweightPoolingEnabledDesc")>]
abstract LightweightPoolingEnabled : bool with get, set
function get LightweightPoolingEnabled () : boolean 
function set LightweightPoolingEnabled (value : boolean)

Eigenschaftswert

Typ: System.Boolean
True if the LightweightPoolingEnabled property for an instance of SQL Server is specified; otherwise, false.

Siehe auch

Verweis

IServerPerformanceFacet Schnittstelle

Microsoft.SqlServer.Management.Smo-Namespace