Export (0) Print
Expand All

AvailabilityGroupListener.Script Method (ScriptingOptions)

Generates a script for this availability group listener 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 script object.

Return Value

Type: StringCollection
A string collection contains the Transact-SQL.

Implements

IScriptable.Script(ScriptingOptions)

Community Additions

ADD
Show:
© 2014 Microsoft