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.
範例
Using the Subscriber Monitor Sample
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。