Share via


SPColumnDefinition.Type property

Gets the column SQL data type.

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

Syntax

'Declaration
Public Property Type As SqlDbType
    Get
    Friend Set
'Usage
Dim instance As SPColumnDefinition
Dim value As SqlDbType

value = instance.Type
public SqlDbType Type { get; internal set; }

Property value

Type: System.Data.SqlDbType
Returns a SqlDbType representation of the column SQL type.

See also

Reference

SPColumnDefinition structure

SPColumnDefinition members

Microsoft.SharePoint.Administration namespace