Метод 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
Параметры
- options
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptOption object that is to be added to the ScriptingOptions object.
- scriptOption
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ScriptOption
A ScriptingOptions object that is to be added to the ScriptingOptions object.
Возвращаемое значение
Тип: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
A ScriptingOptions object that contains the added ScriptOption and ScriptingOptions objects.
См. также