Export (0) Print
Expand All

AvailabilityDatabase.Script Method (ScriptingOptions)

Generates a script for the availability database using the specified scripting options.

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

public StringCollection Script(
	ScriptingOptions scriptingOptions
)

Parameters

scriptingOptions
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions
The specified script options.

Return Value

Type: StringCollection
A list of Transact-SQL statements in the script.

Implements

IScriptable.Script(ScriptingOptions)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft