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.