共用方式為


DynamicLocks 屬性

Gets the DynamicLocks property for an instance of SQL Server.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayDescriptionKeyAttribute("DynamicLocksDesc")> _
<DisplayNameKeyAttribute("DynamicLocksName")> _
<PostConfigurationActionAttribute(PostConfigurationAction.RestartService)> _
Property DynamicLocks As Integer
    Get
    Set
'用途
Dim instance As IServerPerformanceFacet
Dim value As Integer

value = instance.DynamicLocks

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

屬性值

型別:System. . :: . .Int32
Int32