Share via


SPColumnDefinition constructor (String, SqlDbType)

Instantiates a new instance of the SPColumnDefinition class and provides the name and SQL data type for the new column.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    type As SqlDbType _
)
'Usage
Dim name As String
Dim type As SqlDbType

Dim instance As New SPColumnDefinition(name, type)
public SPColumnDefinition(
    string name,
    SqlDbType type
)

Parameters

See also

Reference

SPColumnDefinition structure

SPColumnDefinition members

SPColumnDefinition overload

Microsoft.SharePoint.Administration namespace