IColumn Interface
Represents a SQL Server column.
Namespace: Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Interface IColumn _
Inherits IScalar, IMetadataObject
'Usage
Dim instance As IColumn
public interface IColumn : IScalar,
IMetadataObject
public interface class IColumn : IScalar,
IMetadataObject
type IColumn =
interface
interface IScalar
interface IMetadataObject
end
public interface IColumn extends IScalar, IMetadataObject
The IColumn type exposes the following members.
Properties
Name | Description | |
---|---|---|
Collation | Gets the ICollation object that identifies the collation used by the column. | |
ComputedColumnInfo | Gets the ComputedColumnInfo object that provides the computed column specification. | |
DataType | Gets the scalar data type. (Inherited from IScalar.) | |
DefaultValue | Gets the IDefaultConstraint object that specifies the column default value. | |
IdentityColumnInfo | Gets the IdentityColumnInfo object that provides the column identity specification. | |
InPrimaryKey | Gets a value that indicates whether the column is included in the definition of a PRIMARY KEY or UNIQUE constraint. | |
IsColumnSet | Gets a value that indicates whether the column is a column set. | |
IsSparse | Gets a value that indicates whether the column is a sparse. | |
Name | Gets the name of the metadata object. (Inherited from IMetadataObject.) | |
Nullable | Gets a Boolean value that indicates whether the scalar object is nullable. (Inherited from IScalar.) | |
Parent | Gets the ITabular object that is the parent of this object. | |
RowGuidCol | Gets a value that indicates whether the column is automatically updated with a unique GUID value. | |
ScalarType | Gets the scalar type. (Inherited from IScalar.) |
Top
Methods
Name | Description | |
---|---|---|
Accept<T> | Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.) |
Top