Свойство 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.