ScriptOption Implicit 转换 (ScriptOption to ScriptingOptions)
Implicitly converts the specified ScriptOption to a ScriptingOptions object.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Shared Widening Operator CType ( _
scriptOption As ScriptOption _
) As ScriptingOptions
用法
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 支持使用自定义转换,但不支持声明新自定义转换。
参数
- scriptOption
类型:Microsoft.SqlServer.Management.Smo.ScriptOption
The ScriptOption object to be converted.
返回值
类型:Microsoft.SqlServer.Management.Smo.ScriptingOptions
The ScriptingOptions corresponding to the ScriptOption.