SPUtility.ParseSqlType method
NOTE: This API is now obsolete.
Converts the string representation of a SqlDbType enumeration value to a SqlDbType enumeration value.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("Reserved for internal use only.")> _
Public Shared Function ParseSqlType ( _
type As String _
) As SqlDbType
'Usage
Dim type As String
Dim returnValue As SqlDbType
returnValue = SPUtility.ParseSqlType(type)
[ObsoleteAttribute("Reserved for internal use only.")]
public static SqlDbType ParseSqlType(
string type
)
Parameters
type
Type: System.StringThe string representation of a SqlDbType enumeration value.
Return value
Type: System.Data.SqlDbType
The enumeration value.