共用方式為


PolicyExtender.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.

請參閱

參考

PolicyExtender 類別

Microsoft.SqlServer.Management.Dmf 命名空間