Метод DisableSynchronizationPartner

Disables the specified synchronization partner for this merge publication.

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)

Синтаксис

'Декларация
Public Sub DisableSynchronizationPartner ( _
    publisher As String, _
    publicationDB As String, _
    publication As String _
)
'Применение
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
)

Параметры

Замечания

ПримечаниеПримечание

В будущей версии Microsoft SQL Server эта возможность будет удалена. Не используйте ее при работе над новыми приложениями и как можно быстрее измените приложения, в которых она в настоящее время используется.

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.