Export (0) Print
Expand All

RegisteredSubscriber Class

 

Applies To: SQL Server 2016 Preview

Represents a Subscriber that has been registered at a Publisher or a Distributor.

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

System.Object
  Microsoft.SqlServer.Replication.ReplicationObject
    Microsoft.SqlServer.Replication.RegisteredSubscriber

public sealed class RegisteredSubscriber : ReplicationObject

NameDescription
System_CAPS_pubmethodRegisteredSubscriber()

Creates a new instance of the RegisteredSubscriber class.

System_CAPS_pubmethodRegisteredSubscriber(String, ServerConnection)

Creates a new instance of the RegisteredSubscriber class with the specified name and specified connection to the Publisher.

System_CAPS_pubmethodRegisteredSubscriber(String, ServerConnection, String, String)

Creates a new instance of the RegisteredSubscriber class with the specified name, the specified connection to the distribution Publisher, the specified distribution Publisher, and the distribution database.

NameDescription
System_CAPS_pubpropertyCachePropertyChanges

Gets or sets whether to cache changes made to the replication properties or to apply them immediately.(Inherited from ReplicationObject.)

System_CAPS_pubpropertyConnectionContext

Gets or sets the connection to an instance of Microsoft SQL Server.(Inherited from ReplicationObject.)

System_CAPS_pubpropertyDefaultDistributionSchedule

Gets the default schedule to be assigned to the Distribution Agent if it is not specified.

System_CAPS_pubpropertyDefaultMergeSchedule

Gets the default schedule to be assigned to the Merge Agent if it is not specified.

System_CAPS_pubpropertyDescription

Gets or sets a textual description of the object.

System_CAPS_pubpropertyDistributionDatabase

Gets or sets the name of the distribution database that the distribution Publisher uses.

System_CAPS_pubpropertyDistributionPublisher

Gets or sets the name of the distribution Publisher to which the Subscriber is registered.

System_CAPS_pubpropertyIsExistingObject

Gets whether the object exists on the server or not.(Inherited from ReplicationObject.)

System_CAPS_pubpropertyName

Gets or sets the name of the registered Subscriber.

System_CAPS_pubpropertySqlServerName

Gets the name of the Microsoft SQL Server instance to which this object is connected. (Inherited from ReplicationObject.)

System_CAPS_pubpropertySubscriberSecurity

Gets a security context that is used by the Distribution Agent or the Merge Agent to connect to this registered Subscriber.

System_CAPS_pubpropertyType

Gets or sets the type of Subscriber.

System_CAPS_pubpropertyUserData

Gets or sets an object property that allows users to attach their own data to the object. (Inherited from ReplicationObject.)

NameDescription
System_CAPS_pubmethodCommitPropertyChanges()

Sends all the cached property change statements to the instance of Microsoft SQL Server.(Inherited from ReplicationObject.)

System_CAPS_pubmethodCreate()

Registers the Subscriber at the specified Publisher or Distributor.

System_CAPS_pubmethodDecouple()

Decouples the referenced replication object from the server. (Inherited from ReplicationObject.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLoad()

Loads the properties of an existing object from the server. (Inherited from ReplicationObject.)

System_CAPS_pubmethodLoadProperties()

Loads the properties of an existing object from the server. (Inherited from ReplicationObject.)

System_CAPS_pubmethodRefresh()

Reloads the properties of the object. (Inherited from ReplicationObject.)

System_CAPS_pubmethodRemove()

Removes the Subscriber registration represented by the object.

System_CAPS_pubmethodScript(ScriptOptions)

Returns a string containing a Transact-SQL creation or deletion script for the Microsoft SQL Server registered Subscriber on the server computer that the object represents.

System_CAPS_pubmethodToString()

(Inherited from Object.)

In Microsoft SQL Server 2005, it is no longer required to explicitly register a Subscriber at the Publisher. The RegisteredSubscriber class is provided for backward compatibility with previous versions of SQL Server.

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.

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

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft