Share via


ReplicationObject.GetCreateCommand Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Returns the create command from the replication.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Protected MustOverride Sub GetCreateCommand ( _
    command As StringBuilder, _
    fromScripting As Boolean, _
    scriptOption As ScriptOptions _
)
'Usage
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
)

Parameters

  • fromScripting
    Type: System.Boolean
    Indicates whether the command is from scripting.

See Also

Reference

ReplicationObject Class

Microsoft.SqlServer.Replication Namespace