DistributionSubscription Constructor (String, String, String, String, String, String, ServerConnection)
Creates a new instance of the DistributionSubscription class, with the required properties and with a connection to the Distributor.
Espace de noms: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)
Syntaxe
'Déclaration
Public Sub New ( _
distributionDBName As String, _
publisherName As String, _
publicationDBName As String, _
publicationName As String, _
subscriberName As String, _
subscriptionDBName As String, _
connectionContext As ServerConnection _
)
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
)
public DistributionSubscription (
String distributionDBName,
String publisherName,
String publicationDBName,
String publicationName,
String subscriberName,
String subscriptionDBName,
ServerConnection connectionContext
)
public function DistributionSubscription (
distributionDBName : String,
publisherName : String,
publicationDBName : String,
publicationName : String,
subscriberName : String,
subscriptionDBName : String,
connectionContext : ServerConnection
)
Paramètres
- distributionDBName
A String value that specifies the distribution database.
- publisherName
A String value that specifies the Publisher.
- publicationDBName
A String value that specifies the publication database.
- publicationName
A String value that specifies the publication name.
- subscriberName
A String value that specifies the Subscriber.
- subscriptionDBName
A String value that specifies the subscription database.
- connectionContext
A ServerConnection object that represents the connection to the Distributor.
Notes
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
DistributionSubscription Class
DistributionSubscription Members
Microsoft.SqlServer.Replication Namespace