MergeSubscriptionCollection 類別
表示 MergeSubscription 物件的集合。
繼承階層
System. . :: . .Object
Microsoft.SqlServer.Replication. . :: . .ReplicationBaseCollection
Microsoft.SqlServer.Replication..::..MergeSubscriptionCollection
命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)
語法
'宣告
Public NotInheritable Class MergeSubscriptionCollection _
Inherits ReplicationBaseCollection
'用途
Dim instance As MergeSubscriptionCollection
public sealed class MergeSubscriptionCollection : ReplicationBaseCollection
public ref class MergeSubscriptionCollection sealed : public ReplicationBaseCollection
[<SealedAttribute>]
type MergeSubscriptionCollection =
class
inherit ReplicationBaseCollection
end
public final class MergeSubscriptionCollection extends ReplicationBaseCollection
MergeSubscriptionCollection 型別公開下列成員。
屬性
名稱 | 說明 | |
---|---|---|
Count | Gets the number of objects in the referenced collection. (繼承自 ReplicationBaseCollection。) | |
IsSynchronized | Gets whether or not access to the collection is synchronized and is therefore thread-safe. (繼承自 ReplicationBaseCollection。) | |
Item[ ( [ ( Int32] ) ] ) | 依索引標號取得集合中的 MergeSubscription 物件。 | |
Item[ ( [ ( String, String] ) ] ) | 依唯一識別訂閱的 SubscriberName 和 SubscriptionDBName 屬性,取得 MergeSubscriptionCollection 中的 MergeSubscription 物件。 | |
SyncRoot | Gets an object that can be used to synchronize access to the collection. (繼承自 ReplicationBaseCollection。) |
上層
方法
名稱 | 說明 | |
---|---|---|
CopyTo(Array, Int32) | Copies the collection to an array. (繼承自 ReplicationBaseCollection。) | |
CopyTo(MergeSubscriptionCollection, Int32) | 建立集合的複本。 | |
Equals | (繼承自 Object。) | |
Finalize | (繼承自 Object。) | |
GetEnumerator | Gets an enumerator that is used to iterate through the objects in a collection. (繼承自 ReplicationBaseCollection。) | |
GetHashCode | (繼承自 Object。) | |
GetType | (繼承自 Object。) | |
InitList | 基礎結構。 (繼承自 ReplicationBaseCollection。) | |
MemberwiseClone | (繼承自 Object。) | |
Refresh | Refreshes the collection. (繼承自 ReplicationBaseCollection。) | |
ToString | (繼承自 Object。) |
上層
備註
A MergeSubscription object in the collection can be accessed from the Item()()()() property using an [Int32] index value or using a [String, String] index value that is composed of the SubscriberName and SubscriptionDBName properties that define the push subscription.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .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.
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。