DistributionSubscription.Script-Methode
Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.
Generates a Transact-SQL script for the subscription.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public Function Script ( _
scriptOption As ScriptOptions _
) As String
'Usage
Dim instance As DistributionSubscription
Dim scriptOption As ScriptOptions
Dim returnValue As String
returnValue = instance.Script(scriptOption)
public string Script(
ScriptOptions scriptOption
)
public:
String^ Script(
ScriptOptions scriptOption
)
member Script :
scriptOption:ScriptOptions -> string
public function Script(
scriptOption : ScriptOptions
) : String
Parameter
- scriptOption
Typ: Microsoft.SqlServer.Replication.ScriptOptions
The scripting options.
Rückgabewert
Typ: System.String
The Transact-SQL script.