Partager via


Interface IColumn

Represents a SQL Server column. 

Espace de noms :  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly :  Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)

Syntaxe

'Déclaration
Public Interface IColumn _
    Inherits IScalar, IMetadataObject
'Utilisation
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

Le type IColumn expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Collation Gets the ICollation object that identifies the collation used by the column.
Propriété publique ComputedColumnInfo Gets the ComputedColumnInfo object that provides the computed column specification.
Propriété publique DataType Gets the scalar data type. (hérité de IScalar.)
Propriété publique DefaultValue Gets the IDefaultConstraint object that specifies the column default value.
Propriété publique IdentityColumnInfo Gets the IdentityColumnInfo object that provides the column identity specification.
Propriété publique InPrimaryKey Gets a value that indicates whether the column is included in the definition of a PRIMARY KEY or UNIQUE constraint.
Propriété publique IsColumnSet Gets a Boolean value that specifies whether the column is a sparse column that is a member of a column set.
Propriété publique IsSparse Gets a Boolean value that specifies whether the column is a sparse column.
Propriété publique Name Gets the name of the metadata object. (hérité de IMetadataObject.)
Propriété publique Nullable Gets a Boolean value that indicates whether the scalar object is nullable. (hérité de IScalar.)
Propriété publique Parent Gets the ITabular object that is the parent of this object.
Propriété publique RowGuidCol Gets a value that indicates whether the column is automatically updated with a unique GUID value.
Propriété publique ScalarType Gets the scalar type. (hérité de IScalar.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (hérité de IMetadataObject.)

Haut de la page