Share via


IView.HasCheckOption Property

Gets a value that indicates whether the view uses the WITH CHECK option.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Property HasCheckOption As Boolean
    Get
'Usage
Dim instance As IView
Dim value As Boolean

value = instance.HasCheckOption
bool HasCheckOption { get; }
property bool HasCheckOption {
    bool get ();
}
abstract HasCheckOption : bool
function get HasCheckOption () : boolean

Property Value

Type: System.Boolean
true if the view uses the WITH CHECK option; othewise, false.