Udostępnij za pośrednictwem


Column Constructor (SqlSmoObject, String)

Initializes a new instance of the Column class with the specified parent and specified name.

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

Syntax

'Declaration
Public Sub New ( _
    parent As SqlSmoObject, _
    name As String _
)
public Column (
    SqlSmoObject parent,
    string name
)
public:
Column (
    SqlSmoObject^ parent, 
    String^ name
)
public Column (
    SqlSmoObject parent, 
    String name
)
public function Column (
    parent : SqlSmoObject, 
    name : String
)

Parameters

  • name
    A String value that specifies the name of the column.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Create, Alter, and Remove a Table in Visual Basic .NET

Platforms

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.

See Also

Reference

Column Class
Column Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE TABLE (Transact-SQL)
Working with Database Objects