Dela via


SqlSmoObject.FormatSqlVariant Method

Formats an object as SqlVariant type.

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

Syntax

'Declaration
Protected Friend Function FormatSqlVariant ( _
    sqlVariant As Object _
) As String
'Usage
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

Parameters

Return Value

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