Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets a TransSubscription object in the TransSubscriptionCollection, by SubscriberName and SubscriptionDBName properties that uniquely identify the subscription.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
subscriberName As String, _
subscriptionDBName As String _
) As TransSubscription
Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- subscriberName
Type: System.String
A String value that specifies the Subscriber.
- subscriptionDBName
Type: System.String
A String value that specifies the subscription database.
Property Value
Type: Microsoft.SqlServer.Replication.TransSubscription
A TransSubscription object.
Remarks
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.