Item propriété (String, String)
Gets a TransSubscription object in the TransSubscriptionCollection, by SubscriberName and SubscriptionDBName properties that uniquely identify the subscription.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (dans Microsoft.SqlServer.Rmo.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
subscriberName As String, _
subscriptionDBName As String _
) As TransSubscription
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- subscriberName
Type : System. . :: . .String
A String value that specifies the Subscriber.
- subscriptionDBName
Type : System. . :: . .String
A String value that specifies the subscription database.
Valeur de la propriété
Type : Microsoft.SqlServer.Replication. . :: . .TransSubscription
A TransSubscription object.
Notes
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.