DistributionSubscriptionCollection.Item Propiedad (String, String)
Gets a DistributionSubscription object in the DistributionSubscriptionCollection by SubscriberName and SubscriptionDBName properties that uniquely identify the subscription at the Distributor.
Espacio de nombres: Microsoft.SqlServer.Replication
Ensamblado: Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
subscriberName As String, _
subscriptionDBName As String _
) As DistributionSubscription
Get
'Uso
Dim instance As DistributionSubscriptionCollection
Dim subscriberName As String
Dim subscriptionDBName As String
Dim value As DistributionSubscription
value = instance(subscriberName, subscriptionDBName)
public DistributionSubscription this[
string subscriberName,
string subscriptionDBName
] { get; }
public:
property DistributionSubscription^ default[String^ subscriberName, String^ subscriptionDBName] {
DistributionSubscription^ get (String^ subscriberName, String^ subscriptionDBName);
}
member Item : DistributionSubscription
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
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 de la propiedad
Tipo: Microsoft.SqlServer.Replication.DistributionSubscription
A DistributionSubscription object.
Comentarios
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.