Propriedade Item (String, String)
Gets a MergeSubscription object in the MergeSubscriptionCollection by SubscriberName and SubscriptionDBName properties that uniquely identify the subscription.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)
Sintaxe
'Declaração
Public ReadOnly Default Property Item ( _
subscriberName As String, _
subscriptionDBName As String _
) As MergeSubscription
Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- subscriberName
Tipo: System. . :: . .String
A String value that specifies the Subscriber.
- subscriptionDBName
Tipo: System. . :: . .String
A String value that specifies the subscription database.
Valor da propriedade
Tipo: Microsoft.SqlServer.Replication. . :: . .MergeSubscription
A MergeSubscription object.
Comentários
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.