ReplicationObject ReplicationObject ReplicationObject 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
ReplicationObjectReplicationObjectReplicationObjectReplicationObject
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() ReplicationObject() ReplicationObject() ReplicationObject()

Creates a new instance of the ReplicationObject class.

Properties

CachePropertyChanges CachePropertyChanges CachePropertyChanges CachePropertyChanges

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

ConnectionContext ConnectionContext ConnectionContext ConnectionContext

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

IsExistingObject IsExistingObject IsExistingObject IsExistingObject

Gets whether the object exists on the server or not.

SqlServerName SqlServerName SqlServerName SqlServerName

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

UserData UserData UserData UserData

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

Methods

CheckValidCreation() CheckValidCreation() CheckValidCreation() CheckValidCreation()

Checks the valid replication creation.

CheckValidDefinition(Boolean) CheckValidDefinition(Boolean) CheckValidDefinition(Boolean) CheckValidDefinition(Boolean)

Indicates whether the definition is valid.

CommitPropertyChanges() CommitPropertyChanges() CommitPropertyChanges() CommitPropertyChanges()

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

Decouple() Decouple() Decouple() Decouple()

Decouples the referenced replication object from the server.

GetChangeCommand(StringBuilder, String, String) GetChangeCommand(StringBuilder, String, String) GetChangeCommand(StringBuilder, String, String) GetChangeCommand(StringBuilder, String, String)

Returns the change command from the replication.

GetCreateCommand(StringBuilder, Boolean, ScriptOptions) GetCreateCommand(StringBuilder, Boolean, ScriptOptions) GetCreateCommand(StringBuilder, Boolean, ScriptOptions) GetCreateCommand(StringBuilder, Boolean, ScriptOptions)

Returns the create command from the replication.

GetDropCommand(StringBuilder, Boolean) GetDropCommand(StringBuilder, Boolean) GetDropCommand(StringBuilder, Boolean) GetDropCommand(StringBuilder, Boolean)

Returns the drop command from the replication.

InternalRefresh(Boolean) InternalRefresh(Boolean) InternalRefresh(Boolean) InternalRefresh(Boolean)

Initiates an internal refresh from the replication.

Load() Load() Load() Load()

Loads the properties of an existing object from the server.

LoadProperties() LoadProperties() LoadProperties() LoadProperties()

Loads the properties of an existing object from the server.

Refresh() Refresh() Refresh() Refresh()

Reloads the properties of the object.

Applies to