Freigeben über


RegisteredSubscriber.Script(ScriptOptions) Methode

Definition

Gibt eine Zeichenfolge zurück, die ein Transact-SQL-Erstellungs- oder Löschskript für den registrierten Abonnenten von Microsoft SQL Server auf dem Servercomputer enthält, der das Objekt darstellt.

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

Parameter

scriptOption
ScriptOptions

Ein ScriptOptions-Objektwert, der die Skriptoptionen angibt.

Gibt zurück

Ein String Wert, der das Transact-SQL-Skript enthält.

Gilt für: