IServerPerformanceFacet.DynamicLocks Property
Gets or sets the maximum number of available locks.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
<DisplayNameKeyAttribute("DynamicLocksName")> _
<DisplayDescriptionKeyAttribute("DynamicLocksDesc")> _
Property DynamicLocks As Integer
Get
Set
'Usage
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)
Property Value
Type: System.Int32
The maximum number of available locks.