Add 方法 (ScriptOption)
Adds a ScriptOption object to the ScriptingOptions object.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Function Add ( _
scriptOption As ScriptOption _
) As ScriptingOptions
用法
Dim instance As ScriptingOptions
Dim scriptOption As ScriptOption
Dim returnValue As ScriptingOptions
returnValue = instance.Add(scriptOption)
public ScriptingOptions Add(
ScriptOption scriptOption
)
public:
ScriptingOptions^ Add(
ScriptOption^ scriptOption
)
member Add :
scriptOption:ScriptOption -> ScriptingOptions
public function Add(
scriptOption : ScriptOption
) : ScriptingOptions
参数
- scriptOption
类型:Microsoft.SqlServer.Management.Smo. . :: . .ScriptOption
A ScriptOption object that is to be added to the ScriptingOptions object.
返回值
类型:Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object that contains the added ScriptOption object.