共用方式為


Column 建構函式 (SqlSmoObject, String)

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub New ( _
    parent As SqlSmoObject, _
    name As String _
)
'用途
Dim parent As SqlSmoObject 
Dim name As String 

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

參數

範例

使用資料庫物件

請參閱

參考

Column 類別

Column 多載

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE TABLE (Transact-SQL)