DistributionSubscription 클래스

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

System.Object
  Microsoft.SqlServer.Replication.ReplicationObject
    Microsoft.SqlServer.Replication.DistributionSubscription

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

public sealed class DistributionSubscription : ReplicationObject

DistributionSubscription 유형에서 다음 멤버를 표시합니다.

  이름설명
공용 메서드DistributionSubscription()Creates a new instance of the DistributionSubscription class.
공용 메서드DistributionSubscription(String, String, String, String, String, String, ServerConnection)Creates a new instance of the DistributionSubscription class with the required properties and with a connection to the Distributor.
맨 위로 이동

  이름설명
공용 속성AgentJobIdGets the ID of the SQL Server Agent job that synchronizes the Subscription.
공용 속성AgentScheduleGets the synchronization agent schedule for the subscription.
공용 속성CachePropertyChangesGets or sets whether to cache changes made to the replication properties or to apply them immediately. (ReplicationObject에서 상속됨)
공용 속성ConnectionContextGets or sets the connection to an instance of Microsoft SQL Server. (ReplicationObject에서 상속됨)
공용 속성DistributionAgentGets the name of the SQL Server Agent job that is used to synchronize the subscription.
공용 속성DistributionDBNameGets or sets the name of the distribution database.
공용 속성IsExistingObjectGets whether the object exists on the server or not. (ReplicationObject에서 상속됨)
공용 속성NameGets the name of the subscription.
공용 속성PublicationDBNameGets or sets the name of the publication database.
공용 속성PublicationNameGets or sets the name of the publication to which the subscription belongs.
공용 속성PublisherNameGets or sets the Publisher of the publication to which the subscription belongs.
공용 속성SqlServerNameGets the name of the Microsoft SQL Server instance to which this object is connected. (ReplicationObject에서 상속됨)
공용 속성StatusGets or sets the status of the subscription.
공용 속성SubscriberNameGets or sets the name of the Subscriber.
공용 속성SubscriptionDBNameGets or sets the name of the subscription database.
공용 속성SubscriptionTypeGets or sets whether the Distribution agent runs at the Distributor (Push) or at the Subscriber (Pull).
공용 속성SyncTypeGets or sets the manner in which the subscription is initialized.
공용 속성UserDataGets or sets an object property that allows users to attach their own data to the object. (ReplicationObject에서 상속됨)
맨 위로 이동

  이름설명
공용 메서드CommitPropertyChangesSends all the cached property change statements to the instance of Microsoft SQL Server. (ReplicationObject에서 상속됨)
공용 메서드DecoupleDecouples the referenced replication object from the server. (ReplicationObject에서 상속됨)
공용 메서드Equals (Object에서 상속됨)
공용 메서드GetHashCode (Object에서 상속됨)
공용 메서드GetType (Object에서 상속됨)
공용 메서드LoadLoads the properties of an existing object from the server. (ReplicationObject에서 상속됨)
공용 메서드LoadPropertiesLoads the properties of an existing object from the server. (ReplicationObject에서 상속됨)
공용 메서드RefreshReloads the properties of the object. (ReplicationObject에서 상속됨)
공용 메서드Script인프라입니다. Generates a Transact-SQL script for the subscription.
공용 메서드ToString (Object에서 상속됨)
맨 위로 이동

The DistributionSubscription class is primarily used by SQL Server Management Studio to maintain subscriptions to non-SQL Server Publications. Use an instance of the TransSubscription or class to obtain information on subscriptions registered with a SQL Server Publisher.

The DistributionSubscription class can only be used to return information about an existing subscription. You must use an instance of the TransSubscription class to create or remove a subscription to a transactional or snapshot publication.

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.

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

커뮤니티 추가 항목

추가
표시: