IServerPerformanceFacet.DynamicLocks Property
Gets the DynamicLocks property for an instance of SQL Server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayNameKeyAttribute("DynamicLocksName")> _
<DisplayDescriptionKeyAttribute("DynamicLocksDesc")> _
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
Property DynamicLocks As Integer
Get
Set
'Usage
Dim instance As IServerPerformanceFacet
Dim value As Integer
value = instance.DynamicLocks
instance.DynamicLocks = value
[DisplayNameKeyAttribute("DynamicLocksName")]
[DisplayDescriptionKeyAttribute("DynamicLocksDesc")]
[PostConfigurationActionAttribute(PostConfigurationAction.RestartService)]
int DynamicLocks { get; set; }
[DisplayNameKeyAttribute(L"DynamicLocksName")]
[DisplayDescriptionKeyAttribute(L"DynamicLocksDesc")]
[PostConfigurationActionAttribute(PostConfigurationAction::RestartService)]
property int DynamicLocks {
int get ();
void set (int value);
}
[<DisplayNameKeyAttribute("DynamicLocksName")>]
[<DisplayDescriptionKeyAttribute("DynamicLocksDesc")>]
[<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)>]
abstract DynamicLocks : int with get, set
function get DynamicLocks () : int
function set DynamicLocks (value : int)
Property Value
Type: System.Int32
Int32