共用方式為


Add 方法 (ScriptingOptions, ScriptOption)

Adds a ScriptingOption to a ScriptingOptions object.

命名空間:  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