Share via


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
Public property Collation Gets the ICollation object that identifies the collation used by the column.
Public property ComputedColumnInfo Gets the ComputedColumnInfo object that provides the computed column specification.
Public property DataType Gets the scalar data type. (Inherited from IScalar.)
Public property DefaultValue Gets the IDefaultConstraint object that specifies the column default value.
Public property IdentityColumnInfo Gets the IdentityColumnInfo object that provides the column identity specification.
Public property InPrimaryKey Gets a value that indicates whether the column is included in the definition of a PRIMARY KEY or UNIQUE constraint.
Public property IsColumnSet Gets a value that indicates whether the column is a column set.
Public property IsSparse Gets a value that indicates whether the column is a sparse.
Public property Name Gets the name of the metadata object. (Inherited from IMetadataObject.)
Public property Nullable Gets a Boolean value that indicates whether the scalar object is nullable. (Inherited from IScalar.)
Public property Parent Gets the ITabular object that is the parent of this object.
Public property RowGuidCol Gets a value that indicates whether the column is automatically updated with a unique GUID value.
Public property ScalarType Gets the scalar type. (Inherited from IScalar.)

Top

Methods

  Name Description
Public method Accept<T> Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)

Top

See Also

Reference

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace