MergeSubscriptionCollection.Item 屬性 (String, String)
Gets a MergeSubscription object in the MergeSubscriptionCollection by SubscriberName and SubscriptionDBName properties that uniquely identify the subscription.
命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)
語法
'宣告
Public ReadOnly Default Property Item ( _
subscriberName As String, _
subscriptionDBName As String _
) As MergeSubscription
Get
'用途
Dim instance As MergeSubscriptionCollection
Dim subscriberName As String
Dim subscriptionDBName As String
Dim value As MergeSubscription
value = instance(subscriberName, subscriptionDBName)
public MergeSubscription this[
string subscriberName,
string subscriptionDBName
] { get; }
public:
property MergeSubscription^ default[String^ subscriberName, String^ subscriptionDBName] {
MergeSubscription^ get (String^ subscriberName, String^ subscriptionDBName);
}
member Item : MergeSubscription
JScript 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- subscriberName
型別:System.String
A String value that specifies the Subscriber.
- subscriptionDBName
型別:System.String
A String value that specifies the subscription database.
屬性值
型別:Microsoft.SqlServer.Replication.MergeSubscription
A MergeSubscription object.
備註
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.