DistributionSubscriptionCollection.Item 屬性 (String, String)
Gets a DistributionSubscription object in the DistributionSubscriptionCollection by SubscriberName and SubscriptionDBName properties that uniquely identify the subscription at the Distributor.
命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)
語法
'宣告
Public ReadOnly Default Property Item ( _
subscriberName As String, _
subscriptionDBName As String _
) As DistributionSubscription
Get
'用途
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 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- subscriberName
型別:System.String
A String value that specifies the Subscriber.
- subscriptionDBName
型別:System.String
A String value that specifies the subscription database.
屬性值
型別:Microsoft.SqlServer.Replication.DistributionSubscription
A DistributionSubscription object.
備註
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.