Share via


SPColumnDefinition members

Defines a column in the data store in order to define the provider schema.

The SPColumnDefinition type exposes the following members.

Constructors

  Name Description
Public method SPColumnDefinition(String, SqlDbType) Instantiates a new instance of the SPColumnDefinition class and provides the name and SQL data type for the new column.
Public method SPColumnDefinition(String, SqlDbType, Int32) Instantiates a new instance of the SPColumnDefinition class and provides the name, the SQL data type, and the size for the new column.

Top

Properties

  Name Description
Public property Name Gets the column name.
Public property Size Gets the column size, in number of bytes.
Public property Type Gets the column SQL data type.

Top

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Overrides ValueType.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Retrieves the hash code. (Overrides ValueType.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a string representation of the column name and type name. (Overrides ValueType.ToString().)

Top

See also

Reference

SPColumnDefinition structure

Microsoft.SharePoint.Administration namespace