IServerPerformanceFacet.DynamicLocks 属性

Gets or sets the maximum number of available locks.

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

语法

声明
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
<DisplayNameKeyAttribute("DynamicLocksName")> _
<DisplayDescriptionKeyAttribute("DynamicLocksDesc")> _
Property DynamicLocks As Integer 
    Get 
    Set
用法
Dim instance As IServerPerformanceFacet 
Dim value As Integer 

value = instance.DynamicLocks

instance.DynamicLocks = value
[PostConfigurationActionAttribute(PostConfigurationAction.RestartService)]
[DisplayNameKeyAttribute("DynamicLocksName")]
[DisplayDescriptionKeyAttribute("DynamicLocksDesc")]
int DynamicLocks { get; set; }
[PostConfigurationActionAttribute(PostConfigurationAction::RestartService)]
[DisplayNameKeyAttribute(L"DynamicLocksName")]
[DisplayDescriptionKeyAttribute(L"DynamicLocksDesc")]
property int DynamicLocks {
    int get ();
    void set (int value);
}
[<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)>]
[<DisplayNameKeyAttribute("DynamicLocksName")>]
[<DisplayDescriptionKeyAttribute("DynamicLocksDesc")>]
abstract DynamicLocks : int with get, set
function get DynamicLocks () : int 
function set DynamicLocks (value : int)

属性值

类型:System.Int32
The maximum number of available locks.

请参阅

参考

IServerPerformanceFacet 接口

Microsoft.SqlServer.Management.Smo 命名空间