Udostępnij za pośrednictwem


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

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

Parameters

  • parent
  • name
    A String value that specifies the name of the column.
  • dataType
    A DataType object value that specifies the data type assigned to the column.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.