SqlSmoObject.FormatSqlVariant Method

Formats an object as SqlVariant type.

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


Protected Friend Function FormatSqlVariant ( _
    sqlVariant As Object _
) As String
Dim sqlVariant As Object
Dim returnValue As String

returnValue = Me.FormatSqlVariant(sqlVariant)
protected internal string FormatSqlVariant(
    Object sqlVariant
protected public:
String^ FormatSqlVariant(
    Object^ sqlVariant
member FormatSqlVariant : 
        sqlVariant:Object -> string 
 function FormatSqlVariant(
    sqlVariant : Object
) : String


Return Value

Type: System.String
The SqlVariant object converted to a string value.