Share via


SPColumnDefinition constructor (String, SqlDbType, Int32)

Instantiates a new instance of the SPColumnDefinition class and provides the name, the SQL data type, and the size 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, _
    size As Integer _
)
'Usage
Dim name As String
Dim type As SqlDbType
Dim size As Integer

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

Parameters

See also

Reference

SPColumnDefinition structure

SPColumnDefinition members

SPColumnDefinition overload

Microsoft.SharePoint.Administration namespace