Delen via


ExpressionNode.ConvertFromString Method

Converts a type from a string value.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Protected Shared Function ConvertFromString ( _
    stringObjType As String, _
    stringValue As String _
) As Object
'Usage
Dim stringObjType As String
Dim stringValue As String
Dim returnValue As Object

returnValue = ExpressionNode.ConvertFromString(stringObjType, _
    stringValue)
protected static Object ConvertFromString(
    string stringObjType,
    string stringValue
)
protected:
static Object^ ConvertFromString(
    String^ stringObjType, 
    String^ stringValue
)
static member ConvertFromString : 
        stringObjType:string * 
        stringValue:string -> Object 
protected static function ConvertFromString(
    stringObjType : String, 
    stringValue : String
) : Object

Parameters

Return Value

Type: System.Object
A Object value that contains the converted type.