ScriptingOptions.Add 方法 (ScriptingOptions, ScriptOption)

Adds the specified ScriptOption and ScriptingOptions objects to the ScriptingOptions.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Shared Function Add ( _
    options As ScriptingOptions, _
    scriptOption As ScriptOption _
) As ScriptingOptions
用法
Dim options As ScriptingOptions 
Dim scriptOption As ScriptOption 
Dim returnValue As ScriptingOptions 

returnValue = ScriptingOptions.Add(options, scriptOption)
public static ScriptingOptions Add(
    ScriptingOptions options,
    ScriptOption scriptOption
)
public:
static ScriptingOptions^ Add(
    ScriptingOptions^ options, 
    ScriptOption^ scriptOption
)
static member Add : 
        options:ScriptingOptions * 
        scriptOption:ScriptOption -> ScriptingOptions
public static function Add(
    options : ScriptingOptions, 
    scriptOption : ScriptOption
) : ScriptingOptions

参数

返回值

类型:Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions object that contains the added ScriptOption and ScriptingOptions objects.

请参阅

参考

ScriptingOptions 类

Add 重载

Microsoft.SqlServer.Management.Smo 命名空间