TransSubscriptionCollection.Item 屬性 (String, String)
Gets a TransSubscription object in the TransSubscriptionCollection, 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 TransSubscription
Get
'用途
Dim instance As TransSubscriptionCollection
Dim subscriberName As String
Dim subscriptionDBName As String
Dim value As TransSubscription
value = instance(subscriberName, subscriptionDBName)
public TransSubscription this[
string subscriberName,
string subscriptionDBName
] { get; }
public:
property TransSubscription^ default[String^ subscriberName, String^ subscriptionDBName] {
TransSubscription^ get (String^ subscriberName, String^ subscriptionDBName);
}
member Item : TransSubscription
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.TransSubscription
A TransSubscription object.
備註
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.