Udostępnij przez


DistributionSubscription Members

Represents information stored at the Distributor about a subscription to a transactional or snapshot publication.

The following tables list the members exposed by the DistributionSubscription type.

Public Constructors

  Name Description
DistributionSubscription Overloaded. Creates a new instance of the DistributionSubscription class.

Top

Public Properties

  Name Description
ms155991.pubproperty(pl-pl,SQL.100).gif AgentJobId Gets the ID of the SQL Server Agent job that synchronizes the Subscription.
ms155991.pubproperty(pl-pl,SQL.100).gif AgentSchedule Gets the synchronization agent schedule for the subscription.
ms155991.pubproperty(pl-pl,SQL.100).gif CachePropertyChanges  Gets or sets whether to cache changes made to the replication properties or to apply them immediately. (inherited from ReplicationObject)
ms155991.pubproperty(pl-pl,SQL.100).gif ConnectionContext  Gets or sets the connection to an instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms155991.pubproperty(pl-pl,SQL.100).gif DistributionAgent Gets the name of the SQL Server Agent job that is used to synchronize the subscription.
ms155991.pubproperty(pl-pl,SQL.100).gif DistributionDBName Gets or sets the name of the distribution database.
ms155991.pubproperty(pl-pl,SQL.100).gif IsExistingObject  Gets whether the object exists on the server or not. (inherited from ReplicationObject)
ms155991.pubproperty(pl-pl,SQL.100).gif Name Gets the name of the subscription.
ms155991.pubproperty(pl-pl,SQL.100).gif PublicationDBName Gets or sets the name of the publication database.
ms155991.pubproperty(pl-pl,SQL.100).gif PublicationName Gets or sets the name of the publication to which the subscription belongs.
ms155991.pubproperty(pl-pl,SQL.100).gif PublisherName Gets or sets the Publisher of the publication to which the subscription belongs.
ms155991.pubproperty(pl-pl,SQL.100).gif SqlServerName  Gets the name of the Microsoft SQL Server instance to which this object is connected. (inherited from ReplicationObject)
ms155991.pubproperty(pl-pl,SQL.100).gif Status Gets or sets the status of the subscription.
ms155991.pubproperty(pl-pl,SQL.100).gif SubscriberName Gets or sets the name of the Subscriber.
ms155991.pubproperty(pl-pl,SQL.100).gif SubscriptionDBName Gets or sets the name of the subscription database.
ms155991.pubproperty(pl-pl,SQL.100).gif SubscriptionType Gets or sets whether the Distribution agent runs at the Distributor (Push) or at the Subscriber (Pull).
ms155991.pubproperty(pl-pl,SQL.100).gif SyncType Gets or sets the manner in which the subscription is initialized.
ms155991.pubproperty(pl-pl,SQL.100).gif UserData  Gets or sets an object property that allows users to attach their own data to the object. (inherited from ReplicationObject)

Top

Public Methods

(see also Protected Methods )

  Name Description
ms155991.pubmethod(pl-pl,SQL.100).gif CommitPropertyChanges  Sends all the cached property change statements to the instance of Microsoft SQL Server. (inherited from ReplicationObject)
ms155991.pubmethod(pl-pl,SQL.100).gif Decouple  Decouples the referenced replication object from the server. (inherited from ReplicationObject)
ms155991.pubmethod(pl-pl,SQL.100).gif Equals  Overloaded. (inherited from Object )
ms155991.pubmethod(pl-pl,SQL.100).gif GetHashCode  (inherited from Object )
ms155991.pubmethod(pl-pl,SQL.100).gif GetType  (inherited from Object )
ms155991.pubmethod(pl-pl,SQL.100).gif Load  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms155991.pubmethod(pl-pl,SQL.100).gif LoadProperties  Loads the properties of an existing object from the server. (inherited from ReplicationObject)
ms155991.pubmethod(pl-pl,SQL.100).gifms155991.static(pl-pl,SQL.100).gif ReferenceEquals  (inherited from Object )
ms155991.pubmethod(pl-pl,SQL.100).gif Refresh  Reloads the properties of the object. (inherited from ReplicationObject)
ms155991.pubmethod(pl-pl,SQL.100).gif Script  
ms155991.pubmethod(pl-pl,SQL.100).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms155991.protmethod(pl-pl,SQL.100).gif CheckValidCreation  (inherited from ReplicationObject )
ms155991.protmethod(pl-pl,SQL.100).gif CheckValidDefinition  (inherited from ReplicationObject )
ms155991.protmethod(pl-pl,SQL.100).gif Finalize  (inherited from Object )
ms155991.protmethod(pl-pl,SQL.100).gif GetChangeCommand  (inherited from ReplicationObject )
ms155991.protmethod(pl-pl,SQL.100).gif GetCreateCommand  (inherited from ReplicationObject )
ms155991.protmethod(pl-pl,SQL.100).gif GetDropCommand  (inherited from ReplicationObject )
ms155991.protmethod(pl-pl,SQL.100).gif InternalRefresh  (inherited from ReplicationObject )
ms155991.protmethod(pl-pl,SQL.100).gif MemberwiseClone  (inherited from Object )

Top