Méthode ReplicationObject.GetCreateCommand
Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.
Returns the create command from the replication.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Syntaxe
'Déclaration
Protected MustOverride Sub GetCreateCommand ( _
command As StringBuilder, _
fromScripting As Boolean, _
scriptOption As ScriptOptions _
)
'Utilisation
Dim command As StringBuilder
Dim fromScripting As Boolean
Dim scriptOption As ScriptOptions
Me.GetCreateCommand(command, fromScripting, _
scriptOption)
protected abstract void GetCreateCommand(
StringBuilder command,
bool fromScripting,
ScriptOptions scriptOption
)
protected:
virtual void GetCreateCommand(
StringBuilder^ command,
bool fromScripting,
ScriptOptions scriptOption
) abstract
abstract GetCreateCommand :
command:StringBuilder *
fromScripting:bool *
scriptOption:ScriptOptions -> unit
protected abstract function GetCreateCommand(
command : StringBuilder,
fromScripting : boolean,
scriptOption : ScriptOptions
)
Paramètres
- command
Type : System.Text.StringBuilder
The command.
- fromScripting
Type : System.Boolean
Indicates whether the command is from scripting.
- scriptOption
Type : Microsoft.SqlServer.Replication.ScriptOptions
The scripting options.