Share via


DatabaseColumn Constructors

Definition

Overloads

DatabaseColumn()

Initializes a new instance of the DatabaseColumn class.

DatabaseColumn(String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the DatabaseColumn class.

DatabaseColumn()

Initializes a new instance of the DatabaseColumn class.

public DatabaseColumn ();
Public Sub New ()

Applies to

DatabaseColumn(String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the DatabaseColumn class.

public DatabaseColumn (string id = default, string name = default, string type = default, string columnType = default, string temporalType = default, bool? memoryOptimized = default, bool? isComputed = default);
new Microsoft.Azure.Management.Sql.Models.DatabaseColumn : string * string * string * string * string * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.Management.Sql.Models.DatabaseColumn
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional columnType As String = Nothing, Optional temporalType As String = Nothing, Optional memoryOptimized As Nullable(Of Boolean) = Nothing, Optional isComputed As Nullable(Of Boolean) = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

columnType
String

The column data type. Possible values include: 'image', 'text', 'uniqueidentifier', 'date', 'time', 'datetime2', 'datetimeoffset', 'tinyint', 'smallint', 'int', 'smalldatetime', 'real', 'money', 'datetime', 'float', 'sql_variant', 'ntext', 'bit', 'decimal', 'numeric', 'smallmoney', 'bigint', 'hierarchyid', 'geometry', 'geography', 'varbinary', 'varchar', 'binary', 'char', 'timestamp', 'nvarchar', 'nchar', 'xml', 'sysname'

temporalType
String

The table temporal type. Possible values include: 'NonTemporalTable', 'HistoryTable', 'SystemVersionedTemporalTable'

memoryOptimized
Nullable<Boolean>

Whether or not the column belongs to a memory optimized table.

isComputed
Nullable<Boolean>

Whether or not the column is computed.

Applies to