Partager via


Implicit conversion (ScriptOption to ScriptingOptions)

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared Widening Operator CType ( _
    scriptOption As ScriptOption _
) As ScriptingOptions
'Utilisation
Dim input As ScriptOption
Dim output As ScriptingOptions

output = CType(input, ScriptingOptions)
public static implicit operator ScriptingOptions (
    ScriptOption scriptOption
)
static implicit operator ScriptingOptions^ (
    ScriptOption^ scriptOption
)
JScript prend en charge l'utilisation de conversions personnalisées, mais pas la déclaration de nouvelles conversions.