RegisteredSubscriber Members
Represents a Subscriber that has been registered at a Publisher or a Distributor.
The following tables list the members exposed by the RegisteredSubscriber type.
Public Constructors
名称 | Description | |
---|---|---|
RegisteredSubscriber | Overloaded. Creates a new instance of the RegisteredSubscriber class. |
顶部
Public Properties
名称 | Description | |
---|---|---|
![]() |
CachePropertyChanges | Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (inherited from ReplicationObject) |
![]() |
ConnectionContext | Gets or sets the connection to an instance of Microsoft SQL Server. (inherited from ReplicationObject) |
![]() |
DefaultDistributionSchedule | Gets the default schedule to be assigned to the Distribution Agent if it is not specified. |
![]() |
DefaultMergeSchedule | Gets the default schedule to be assigned to the Merge Agent if it is not specified. |
![]() |
Description | Gets or sets a textual description of the object. |
![]() |
DistributionDatabase | Gets or sets the name of the distribution database that the distribution Publisher uses. |
![]() |
DistributionPublisher | Gets or sets the name of the distribution Publisher to which the Subscriber is registered. |
![]() |
IsExistingObject | Gets whether the object exists on the server or not. (inherited from ReplicationObject) |
![]() |
Name | Gets or sets the name of the registered Subscriber. |
![]() |
SqlServerName | Gets the name of the Microsoft SQL Server instance to which this object is connected. (inherited from ReplicationObject) |
![]() |
SubscriberSecurity | Gets a security context that is used by the Distribution Agent or the Merge Agent to connect to this registered Subscriber. |
![]() |
Type | Gets or sets the type of Subscriber. |
![]() |
UserData | Gets or sets an object property that allows users to attach their own data to the object. (inherited from ReplicationObject) |
顶部
Public Methods
(see also Protected Methods )
名称 | Description | |
---|---|---|
![]() |
CommitPropertyChanges | Sends all the cached property change statements to the instance of Microsoft SQL Server. (inherited from ReplicationObject) |
![]() |
Create | Registers the Subscriber at the specified Publisher or Distributor. |
![]() |
Decouple | Decouples the referenced replication object from the server. (inherited from ReplicationObject) |
![]() |
Equals | Overloaded. (inherited from Object ) |
![]() |
GetHashCode | (inherited from Object ) |
![]() |
GetType | (inherited from Object ) |
![]() |
Load | Loads the properties of an existing object from the server. (inherited from ReplicationObject) |
![]() |
LoadProperties | Loads the properties of an existing object from the server. (inherited from ReplicationObject) |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
Refresh | Reloads the properties of the object. (inherited from ReplicationObject) |
![]() |
Remove | Removes the Subscriber registration represented by the object. |
![]() |
Script | 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. |
![]() |
ToString | (inherited from Object ) |
顶部
Protected Methods
名称 | Description | |
---|---|---|
![]() |
CheckValidCreation | (inherited from ReplicationObject ) |
![]() |
CheckValidDefinition | (inherited from ReplicationObject ) |
![]() |
Finalize | (inherited from Object ) |
![]() |
GetChangeCommand | (inherited from ReplicationObject ) |
![]() |
GetCreateCommand | (inherited from ReplicationObject ) |
![]() |
GetDropCommand | (inherited from ReplicationObject ) |
![]() |
InternalRefresh | (inherited from ReplicationObject ) |
![]() |
MemberwiseClone | (inherited from Object ) |
顶部
请参阅
参考
RegisteredSubscriber Class
Microsoft.SqlServer.Replication Namespace