Méthode DisableSynchronizationPartner
Disables the specified synchronization partner for this merge publication.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Syntaxe
'Déclaration
Public Sub DisableSynchronizationPartner ( _
publisher As String, _
publicationDB As String, _
publication As String _
)
'Utilisation
Dim instance As MergePublication
Dim publisher As String
Dim publicationDB As String
Dim publication As String
instance.DisableSynchronizationPartner(publisher, _
publicationDB, publication)
public void DisableSynchronizationPartner(
string publisher,
string publicationDB,
string publication
)
public:
void DisableSynchronizationPartner(
String^ publisher,
String^ publicationDB,
String^ publication
)
member DisableSynchronizationPartner :
publisher:string *
publicationDB:string *
publication:string -> unit
public function DisableSynchronizationPartner(
publisher : String,
publicationDB : String,
publication : String
)
Paramètres
- publisher
Type : System. . :: . .String
A String value that specifies the Publisher name.
- publicationDB
Type : System. . :: . .String
A String value that specifies the publication database name.
- publication
Type : System. . :: . .String
A String value that specifies the publication name.
Notes
Notes
Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et modifiez dès que possible les applications qui utilisent actuellement cette fonctionnalité.
The DisableSynchronizationPartner method can only be called by members of the sysadmin fixed server role at the Publisher or by members of the db_owner fixed database role on the publication database.
Calling DisableSynchronizationPartner is equivalent to executing sp_dropmergealternatepublisher.
The DisableSynchronizationPartner method is available only for instances of Microsoft SQL Server 2000 and Microsoft SQL Server 2005.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Voir aussi