다음을 통해 공유


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 네임스페이스