SPColumnDefinition constructor (String, SqlDbType)
具現化SPColumnDefinition類別的新執行個體,並提供新的資料行的名稱和 SQL 資料型別。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
name As String, _
type As SqlDbType _
)
'用途
Dim name As String
Dim type As SqlDbType
Dim instance As New SPColumnDefinition(name, type)
public SPColumnDefinition(
string name,
SqlDbType type
)
參數
name
Type: System.String資料行的名稱。
type
Type: System.Data.SqlDbTypeSQL 資料類型與欄相關聯。