Delen via


CreationDispositionKeyOption.IsCreateNew Property

Gets or sets whether CREATE_NEW is specified.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property IsCreateNew As Boolean 
    Get 
    Set
'Usage
Dim instance As CreationDispositionKeyOption 
Dim value As Boolean 

value = instance.IsCreateNew

instance.IsCreateNew = value
public bool IsCreateNew { get; set; }
public:
property bool IsCreateNew {
    bool get ();
    void set (bool value);
}
member IsCreateNew : bool with get, set
function get IsCreateNew () : boolean 
function set IsCreateNew (value : boolean)

Property Value

Type: System.Boolean
True if CREATE_NEW was specified, false in case of OPEN_EXISTING.

See Also

Reference

CreationDispositionKeyOption Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace