ReplicationObject Class

Definition

Abstract class that is the base class for all classes in the Replication Management Objects (RMO) programming interface.

public ref class ReplicationObject abstract
public abstract class ReplicationObject
type ReplicationObject = class
Public MustInherit Class ReplicationObject
Inheritance
ReplicationObject
Derived

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Constructors

ReplicationObject()

Creates a new instance of the ReplicationObject class.

Properties

CachePropertyChanges

Gets or sets whether to cache changes made to the replication properties or to apply them immediately.

ConnectionContext

Gets or sets the connection to an instance of Microsoft SQL Server.

IsExistingObject

Gets whether the object exists on the server or not.

SqlServerName

Gets the name of the Microsoft SQL Server instance to which this object is connected.

UserData

Gets or sets an object property that allows users to attach their own data to the object.

Methods

CheckValidCreation()

Checks the valid replication creation.

CheckValidDefinition(Boolean)

Indicates whether the definition is valid.

CommitPropertyChanges()

Sends all the cached property change statements to the instance of Microsoft SQL Server.

Decouple()

Decouples the referenced replication object from the server.

GetChangeCommand(StringBuilder, String, String)

Returns the change command from the replication.

GetCreateCommand(StringBuilder, Boolean, ScriptOptions)

Returns the create command from the replication.

GetDropCommand(StringBuilder, Boolean)

Returns the drop command from the replication.

InternalRefresh(Boolean)

Initiates an internal refresh from the replication.

Load()

Loads the properties of an existing object from the server.

LoadProperties()

Loads the properties of an existing object from the server.

Refresh()

Reloads the properties of the object.

Applies to