Column Class
The Column object represents a Microsoft SQL Server column.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Microsoft.SqlServer.Management.Smo Namespace
Working with Database Objects
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Updated text:
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
To get Column object properties, users can be a member of the public fixed server role.
To do any of the following, users must have ALTER permission on the parent table, or be a member of the db_owner fixed database role:
-
Set Column object properties and run the Alter method
-
Create a column
-
Drop a column
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Reference
Column MembersMicrosoft.SqlServer.Management.Smo Namespace
Other Resources
CREATE TABLE (Transact-SQL)Working with Database Objects