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
- scriptOption
Type: Microsoft.SqlServer.Management.Smo.ScriptOption
The ScriptOption object to be converted.
Return Value
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
The ScriptingOptions corresponding to the ScriptOption object.