LightweightPoolingEnabled 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayDescriptionKeyAttribute("LightweightPoolingEnabledDesc")> _
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
<DisplayNameKeyAttribute("LightweightPoolingEnabledName")> _
Property LightweightPoolingEnabled As Boolean
    Get
    Set
用法
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)

属性值

类型:System. . :: . .Boolean
Boolean