共用方式為


EnableRootRestriction 屬性

Gets a Boolean value that indicates whether root restriction is enabled.

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

語法

'宣告
<ExtendedPropertyAttribute("Condition")> _
Public ReadOnly Property EnableRootRestriction As Boolean
    Get
'用途
Dim instance As PolicyExtender
Dim value As Boolean

value = instance.EnableRootRestriction
[ExtendedPropertyAttribute("Condition")]
public bool EnableRootRestriction { get; }
[ExtendedPropertyAttribute(L"Condition")]
public:
property bool EnableRootRestriction {
    bool get ();
}
[<ExtendedPropertyAttribute("Condition")>]
member EnableRootRestriction : bool
function get EnableRootRestriction () : boolean

屬性值

型別:System. . :: . .Boolean
A Boolean value that indicates whether root restriction is enabled, True if enabled, otherwise False.