共用方式為


ExternalDataSource.Script Method

Definition

Overloads

Script(ScriptingOptions)

Generate a script for the external data source using the specified scripting options.

Script()

Generate a script for the external data source.

Script(ScriptingOptions)

Generate a script for the external data source 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 scripting options.

Returns

A string collection representing the T-SQL script.

Implements

Applies to

Script()

Generate a script for the external data source.

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