SqlSmoObject.FormatSqlVariant 方法
Formats an object as SqlVariant type.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 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
參數
- sqlVariant
型別:System.Object
An Object value to be formatted.
傳回值
型別:System.String
The SqlVariantobject converted to a string value.