다음을 통해 공유


ServerRole.Script Method

Definition

Overloads

Script()

Scripts the object on the server.

Script(ScriptingOptions)

Scripts the object on the server on the basis of Scripting options.

Script()

Scripts the object on the server.

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

Applies to

Script(ScriptingOptions)

Scripts the object on the server on the basis of 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

Returns

Implements

Applies to