ScriptOption.Add Method

Adds the two ScriptOption objects to create a ScriptOptions object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared Function Add ( _
    leftOption As ScriptOption, _
    rightOption As ScriptOption _
) As ScriptingOptions
'Usage
Dim leftOption As ScriptOption 
Dim rightOption As ScriptOption 
Dim returnValue As ScriptingOptions 

returnValue = ScriptOption.Add(leftOption, _
    rightOption)
public static ScriptingOptions Add(
    ScriptOption leftOption,
    ScriptOption rightOption
)
public:
static ScriptingOptions^ Add(
    ScriptOption^ leftOption, 
    ScriptOption^ rightOption
)
static member Add : 
        leftOption:ScriptOption * 
        rightOption:ScriptOption -> ScriptingOptions
public static function Add(
    leftOption : ScriptOption, 
    rightOption : ScriptOption
) : ScriptingOptions

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
The two ScriptOption objects to create a ScriptOptions object.

See Also

Reference

ScriptOption Class

Microsoft.SqlServer.Management.Smo Namespace