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