共用方式為


SubscriberSubscription 類別

Returns information about a subscription.

繼承階層

System.Object
  Microsoft.SqlServer.Replication.SubscriberSubscription

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public NotInheritable Class SubscriberSubscription
'用途
Dim instance As SubscriberSubscription
public sealed class SubscriberSubscription
public ref class SubscriberSubscription sealed
[<SealedAttribute>]
type SubscriberSubscription =  class end
public final class SubscriberSubscription

SubscriberSubscription 型別公開下列成員。

建構函式

  名稱 說明
公用方法 SubscriberSubscription Creates a new instance of the SubscriberSubscription class.

上層

屬性

  名稱 說明
公用屬性 LastAgentStatus Gets or sets status information from last run of the synchronization agent.
公用屬性 LastAgentSummary Gets or sets the last agent summary message during synchronization.
公用屬性 LastAgentSyncDateTime Gets or sets the date and time of the last run of the synchronization agent.
公用屬性 PublicationDBName Gets or sets the name of the publication database.
公用屬性 PublicationName Gets or sets the name of the publication to which the subscription is subscribed.
公用屬性 PublisherName Gets or sets the name of the Publisher.
公用屬性 SubscriptionDBName Gets or sets the name of the subscription database.
公用屬性 SubscriptionType Gets or sets the subscription type.
公用屬性 Type Gets or sets the type of publication to which the subscription is subscribed.
公用屬性 UpdateMode Gets or sets the update mode for an updating subscription to a transactional publication.
公用屬性 UserData Gets or sets an object property that allows users to attach their own data to this object.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

備註

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

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.

範例

EnumSubscriberSubscriptions

Using the Subscriber Monitor Sample

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Replication 命名空間