Delen via


ScriptOption Implicit Conversion (ScriptOption to ScriptingOptions)

Implicitly converts the specified ScriptOption to a ScriptingOptions object.

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

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    scriptOption As ScriptOption _
) As ScriptingOptions
'Usage
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 supports the use of custom casts, but not the declaration of new ones.

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
The ScriptingOptions corresponding to the ScriptOption object.