Freigeben über


Add-Methode (ScriptOption)

Adds a ScriptOption object to the ScriptingOptions object.

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

Syntax

'Declaration
Public Function Add ( _
    scriptOption As ScriptOption _
) As ScriptingOptions
'Usage
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

Parameter

Rückgabewert

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

Beispiele

Skripterstellung