Add メソッド
2 つの ScriptOption オブジェクトを加算して、ScriptOptions オブジェクトを作成します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Public Shared Function Add ( _
leftOption As ScriptOption, _
rightOption As ScriptOption _
) As ScriptingOptions
'使用
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