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.
注释
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.