Partilhar via


AvailabilityGroupListener.Script Method

Definition

Overloads

Script()

Generate a create script this availability group listener.

Script(ScriptingOptions)

Generate a script for this availability group listener using the specified scripting options.

Script()

Generate a create script this availability group listener.

public System.Collections.Specialized.StringCollection Script ();
abstract member Script : unit -> System.Collections.Specialized.StringCollection
override this.Script : unit -> System.Collections.Specialized.StringCollection
Public Function Script () As StringCollection

Returns

string collection contains the T-SQL

Implements

Applies to

Script(ScriptingOptions)

Generate a script for this availability group listener using the specified scripting options.

public System.Collections.Specialized.StringCollection Script (Microsoft.SqlServer.Management.Smo.ScriptingOptions scriptingOptions);
abstract member Script : Microsoft.SqlServer.Management.Smo.ScriptingOptions -> System.Collections.Specialized.StringCollection
override this.Script : Microsoft.SqlServer.Management.Smo.ScriptingOptions -> System.Collections.Specialized.StringCollection
Public Function Script (scriptingOptions As ScriptingOptions) As StringCollection

Parameters

scriptingOptions
ScriptingOptions

the script object

Returns

string collection contains the T-SQL

Implements

Applies to