Udostępnij za pośrednictwem


DistributionSubscription.Script(ScriptOptions) Method

Definition

Generates a Transact-SQL script for the subscription.

public:
 System::String ^ Script(Microsoft::SqlServer::Replication::ScriptOptions scriptOption);
public string Script (Microsoft.SqlServer.Replication.ScriptOptions scriptOption);
member this.Script : Microsoft.SqlServer.Replication.ScriptOptions -> string
Public Function Script (scriptOption As ScriptOptions) As String

Parameters

scriptOption
ScriptOptions

The scripting options.

Returns

The Transact-SQL script.

Applies to