Partager via


DynamicLocks propriété

Gets the DynamicLocks property for an instance of SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayNameKeyAttribute("DynamicLocksName")> _
<DisplayDescriptionKeyAttribute("DynamicLocksDesc")> _
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
Property DynamicLocks As Integer
    Get
    Set
'Utilisation
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)

Valeur de la propriété

Type : System. . :: . .Int32
Int32