مشاركة عبر


Column Constructor (SqlSmoObject, String, DataType)

Initializes a new instance of the Column class that has 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, _
    dataType As DataType _
)
'Usage
Dim parent As SqlSmoObject 
Dim name As String 
Dim dataType As DataType 

Dim instance As New Column(parent, _
    name, dataType)
public Column(
    SqlSmoObject parent,
    string name,
    DataType dataType
)
public:
Column(
    SqlSmoObject^ parent, 
    String^ name, 
    DataType^ dataType
)
new : 
        parent:SqlSmoObject * 
        name:string * 
        dataType:DataType -> Column
public function Column(
    parent : SqlSmoObject, 
    name : String, 
    dataType : DataType
)

Parameters

Examples

Working with Database Objects

See Also

Reference

Column Class

Column Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE TABLE (Transact-SQL)