共用方式為


SPUtility.ParseSqlType method

NOTE: This API is now obsolete.

SqlDbType列舉值的字串表示轉換成SqlDbType列舉值。

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

Syntax

'宣告
<ObsoleteAttribute("Reserved for internal use only.")> _
Public Shared Function ParseSqlType ( _
    type As String _
) As SqlDbType
'用途
Dim type As String
Dim returnValue As SqlDbType

returnValue = SPUtility.ParseSqlType(type)
[ObsoleteAttribute("Reserved for internal use only.")]
public static SqlDbType ParseSqlType(
    string type
)

參數

傳回值

Type: System.Data.SqlDbType
列舉值。

請參閱

參照

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace