ColumnDefinition.IsIdentity Property

Gets or sets whether this is an identity column.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property IsIdentity As Boolean
public bool IsIdentity { get; set; }
public:
property bool IsIdentity {
    bool get ();
    void set (bool value);
}
member IsIdentity : bool with get, set
function get IsIdentity () : boolean
function set IsIdentity (value : boolean)

Property Value

Type: System.Boolean
Returns true if it is an identity column, false otherwise.

.NET Framework Security

See Also

Reference

ColumnDefinition Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace