ScriptOption.BitwiseOr Operator

Creates a set of scripting options by performing a bitwise OR operation on two ScriptOption objects.

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

Syntax

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

returnValue = (leftOption Or rightOption)
public static ScriptingOptions operator |(
    ScriptOption leftOption,
    ScriptOption rightOption
)
public:
static ScriptingOptions^ operator |(
    ScriptOption^ leftOption, 
    ScriptOption^ rightOption
)
static let inline (|||)
        leftOption:ScriptOption * 
        rightOption:ScriptOption  : ScriptingOptions
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
A ScriptingOptions object value that specifies a set of scripting options.

Examples

Scripting