AlternateSynchronizationPartner 類別
Represents an alternate Publisher to which a subscription can be synchronized if the primary Publisher is not available.
繼承階層
System. . :: . .Object
Microsoft.SqlServer.Replication..::..AlternateSynchronizationPartner
命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)
語法
'宣告
<ComVisibleAttribute(True)> _
<GuidAttribute("6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")> _
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
Public NotInheritable Class AlternateSynchronizationPartner _
Implements IAlternateSynchronizationPartner
'用途
Dim instance As AlternateSynchronizationPartner
[ComVisibleAttribute(true)]
[GuidAttribute("6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")]
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)]
public sealed class AlternateSynchronizationPartner : IAlternateSynchronizationPartner
[ComVisibleAttribute(true)]
[GuidAttribute(L"6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")]
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)]
public ref class AlternateSynchronizationPartner sealed : IAlternateSynchronizationPartner
[<SealedAttribute>]
[<ComVisibleAttribute(true)>]
[<GuidAttribute("6ccf35a8-e977-43d3-bdd4-aa499a2dc1eb")>]
[<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)>]
type AlternateSynchronizationPartner =
class
interface IAlternateSynchronizationPartner
end
public final class AlternateSynchronizationPartner implements IAlternateSynchronizationPartner
AlternateSynchronizationPartner 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
AlternateSynchronizationPartner() () () () | Creates an instance of the AlternateSynchronizationPartner class. |
![]() |
AlternateSynchronizationPartner(String, String, String, String, String) | Creates an instance of the AlternateSynchronizationPartner class with all required properties. |
上層
屬性
名稱 | 說明 | |
---|---|---|
![]() |
Distributor | The name of the Distributor. |
![]() |
FriendlyName | A friendly name for the association of Publisher, publication, and Distributor that makes up an alternate synchronization partner |
![]() |
Publication | The name of the publication. |
![]() |
Publisher | The name of the alternate Publisher. |
![]() |
PublisherDatabase | The name of the publication database. |
上層
方法
名稱 | 說明 | |
---|---|---|
![]() |
Equals | (繼承自 Object。) |
![]() |
Finalize | (繼承自 Object。) |
![]() |
GetHashCode | (繼承自 Object。) |
![]() |
GetType | (繼承自 Object。) |
![]() |
MemberwiseClone | (繼承自 Object。) |
![]() |
ToString | (繼承自 Object。) |
上層
備註
The Alternate Synchronization Partners feature for merge replication has been deprecated.
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。