AvailabilityGroup.Script AvailabilityGroup.Script AvailabilityGroup.Script Method

Definition

Overloads

Script() Script() Script()

Generate the script for creating this availability group.

Script(ScriptingOptions) Script(ScriptingOptions)

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

Script() Script() Script()

Generate the script for creating this availability group.

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

Implements

Script(ScriptingOptions) Script(ScriptingOptions)

Generate a script for this availability group 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

Parameters

Returns

Implements

Applies to