Delen via


Column.Create Method

Creates a column on the instance of Microsoft SQL Server as defined by the Column object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Create
'Usage
Dim instance As Column

instance.Create()
public void Create()
public:
virtual void Create() sealed
abstract Create : unit -> unit  
override Create : unit -> unit
public final function Create()

Implements

ICreatable.Create()

Remarks

Note

Columns based on the UserDefinedTableType object cannot be modified and this method generates an exception.

Examples

Working with Database Objects

See Also

Reference

Column Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

ALTER TABLE (Transact-SQL)

CREATE TABLE (Transact-SQL)