Metodo MergePublication.DisableSynchronizationPartner
Disables the specified synchronization partner for this merge publication.
Spazio dei nomi Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Sintassi
'Dichiarazione
Public Sub DisableSynchronizationPartner ( _
publisher As String, _
publicationDB As String, _
publication As String _
)
'Utilizzo
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
)
Parametri
- publisher
Tipo: System.String
The Publisher name.
- publicationDB
Tipo: System.String
The publication database name.
- publication
Tipo: System.String
The publication name.
Osservazioni
[!NOTA]
Questa funzionalità verrà rimossa a partire da una delle prossime versioni di Microsoft SQL Server. Non utilizzare questa funzionalità in un nuovo progetto di sviluppo e modificare non appena possibile le applicazioni in cui è attualmente implementata.
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.
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Replication