Export (0) Print
Expand All

IColumn Interface

Represents a SQL Server column.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

public interface IColumn : IScalar, 

The IColumn type exposes the following members.

Public propertyCollationGets the ICollation object that identifies the collation used by the column.
Public propertyComputedColumnInfoGets the ComputedColumnInfo object that provides the computed column specification.
Public propertyDataTypeGets the scalar data type. (Inherited from IScalar.)
Public propertyDefaultValueGets the IDefaultConstraint object that specifies the column default value.
Public propertyIdentityColumnInfoGets the IdentityColumnInfo object that provides the column identity specification.
Public propertyInPrimaryKeyGets a value that indicates whether the column is included in the definition of a PRIMARY KEY or UNIQUE constraint.
Public propertyIsColumnSetGets a value that indicates whether the column is a column set.
Public propertyIsSparseGets a value that indicates whether the column is a sparse.
Public propertyNameGets the name of the metadata object. (Inherited from IMetadataObject.)
Public propertyNullableGets a Boolean value that indicates whether the scalar object is nullable. (Inherited from IScalar.)
Public propertyParentGets the ITabular object that is the parent of this object.
Public propertyRowGuidColGets a value that indicates whether the column is automatically updated with a unique GUID value.
Public propertyScalarTypeGets the scalar type. (Inherited from IScalar.)

Public methodAccept<T>Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft