Partager via


LightweightPoolingEnabled propriété

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

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

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("LightweightPoolingEnabledDesc")> _
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
<DisplayNameKeyAttribute("LightweightPoolingEnabledName")> _
Property LightweightPoolingEnabled As Boolean
    Get
    Set
'Utilisation
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)

Valeur de la propriété

Type : System. . :: . .Boolean
Boolean