Aracılığıyla paylaş


IServerPerformanceFacet.LightweightPoolingEnabled Property

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

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

value = instance.LightweightPoolingEnabled

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

Property Value

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

See Also

Reference

IServerPerformanceFacet Interface

Microsoft.SqlServer.Management.Smo Namespace