Share via


ManagedInstance.IsPolicyOverridden Property

Gets a value that indicates whether any of the server instance policies have been overridden.

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property IsPolicyOverridden As Boolean 
    Get
'Usage
Dim instance As ManagedInstance 
Dim value As Boolean 

value = instance.IsPolicyOverridden
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public bool IsPolicyOverridden { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property bool IsPolicyOverridden {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member IsPolicyOverridden : bool
function get IsPolicyOverridden () : boolean

Property Value

Type: System.Boolean
A Boolean value that indicates whether the server instance policies have been overridden. If True, the server instance has overridden policies. Otherwise, False.

See Also

Reference

ManagedInstance Class

Microsoft.SqlServer.Management.Utility Namespace