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
name
Type: System.StringThe name of the column.
type
Type: System.Data.SqlDbTypeThe SQL data type associated with the column.
size
Type: System.Int32The size of the column, in bytes.