Método DistributionSubscription.Script
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Generates a Transact-SQL script for the subscription.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)
Sintaxe
'Declaração
Public Function Script ( _
scriptOption As ScriptOptions _
) As String
'Uso
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
Parâmetros
- scriptOption
Tipo: Microsoft.SqlServer.Replication.ScriptOptions
The scripting options.
Valor de retorno
Tipo: System.String
The Transact-SQL script.