다음을 통해 공유


Add 메서드 (ScriptOption)

Adds a ScriptOption object to the ScriptingOptions object.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Function Add ( _
    scriptOption As ScriptOption _
) As ScriptingOptions
‘사용 방법
Dim instance As ScriptingOptions
Dim scriptOption As ScriptOption
Dim returnValue As ScriptingOptions

returnValue = instance.Add(scriptOption)
public ScriptingOptions Add(
    ScriptOption scriptOption
)
public:
ScriptingOptions^ Add(
    ScriptOption^ scriptOption
)
member Add : 
        scriptOption:ScriptOption -> ScriptingOptions 
public function Add(
    scriptOption : ScriptOption
) : ScriptingOptions

매개 변수

반환 값

형식: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object that contains the added ScriptOption object.

예제

스크립팅