DistributionSubscription コンストラクター (String, String, String, String, String, String, ServerConnection)

必須プロパティおよびディストリビュータへの接続を使用して、DistributionSubscription クラスの新しいインスタンスを作成します。

名前空間:  Microsoft.SqlServer.Replication
アセンブリ:  Microsoft.SqlServer.Rmo (Microsoft.SqlServer.Rmo.dll)

構文

'宣言
Public Sub New ( _
    distributionDBName As String, _
    publisherName As String, _
    publicationDBName As String, _
    publicationName As String, _
    subscriberName As String, _
    subscriptionDBName As String, _
    connectionContext As ServerConnection _
)
'使用
Dim distributionDBName As String
Dim publisherName As String
Dim publicationDBName As String
Dim publicationName As String
Dim subscriberName As String
Dim subscriptionDBName As String
Dim connectionContext As ServerConnection

Dim instance As New DistributionSubscription(distributionDBName, _
    publisherName, publicationDBName, _
    publicationName, subscriberName, _
    subscriptionDBName, connectionContext)
public DistributionSubscription(
    string distributionDBName,
    string publisherName,
    string publicationDBName,
    string publicationName,
    string subscriberName,
    string subscriptionDBName,
    ServerConnection connectionContext
)
public:
DistributionSubscription(
    String^ distributionDBName, 
    String^ publisherName, 
    String^ publicationDBName, 
    String^ publicationName, 
    String^ subscriberName, 
    String^ subscriptionDBName, 
    ServerConnection^ connectionContext
)
new : 
        distributionDBName:string * 
        publisherName:string * 
        publicationDBName:string * 
        publicationName:string * 
        subscriberName:string * 
        subscriptionDBName:string * 
        connectionContext:ServerConnection -> DistributionSubscription
public function DistributionSubscription(
    distributionDBName : String, 
    publisherName : String, 
    publicationDBName : String, 
    publicationName : String, 
    subscriberName : String, 
    subscriptionDBName : String, 
    connectionContext : ServerConnection
)

パラメーター

説明

この名前空間、クラス、またはメンバは、.NET Framework 2.0 でのみサポートされています。