Partager via


Classe AlternateSynchronizationPartner

Represents an alternate Publisher to which a subscription can be synchronized if the primary Publisher is not available.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (dans Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
<ComVisibleAttribute(True)> _
<GuidAttribute("6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")> _
Public NotInheritable Class AlternateSynchronizationPartner _
    Implements IAlternateSynchronizationPartner
'Utilisation
Dim instance As AlternateSynchronizationPartner
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)]
[ComVisibleAttribute(true)]
[GuidAttribute("6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")]
public sealed class AlternateSynchronizationPartner : IAlternateSynchronizationPartner
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)]
[ComVisibleAttribute(true)]
[GuidAttribute(L"6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")]
public ref class AlternateSynchronizationPartner sealed : IAlternateSynchronizationPartner
[<SealedAttribute>]
[<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)>]
[<ComVisibleAttribute(true)>]
[<GuidAttribute("6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")>]
type AlternateSynchronizationPartner =  
    class
        interface IAlternateSynchronizationPartner
    end
public final class AlternateSynchronizationPartner implements IAlternateSynchronizationPartner

Notes

The Alternate Synchronization Partners feature for merge replication has been deprecated.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.SqlServer.Replication..::..AlternateSynchronizationPartner

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.