共用方式為


ITransSynchronizationAgent 介面

Provides an implementation of the TransSynchronizationAgent class for late-bound COM clients.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)> _
<ComVisibleAttribute(True)> _
<GuidAttribute("2e9eb2da-1dbc-4bea-aa2e-db0eb9d94344")> _
Public Interface ITransSynchronizationAgent
'用途
Dim instance As ITransSynchronizationAgent
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)]
[ComVisibleAttribute(true)]
[GuidAttribute("2e9eb2da-1dbc-4bea-aa2e-db0eb9d94344")]
public interface ITransSynchronizationAgent
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsDual)]
[ComVisibleAttribute(true)]
[GuidAttribute(L"2e9eb2da-1dbc-4bea-aa2e-db0eb9d94344")]
public interface class ITransSynchronizationAgent
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsDual)>]
[<ComVisibleAttribute(true)>]
[<GuidAttribute("2e9eb2da-1dbc-4bea-aa2e-db0eb9d94344")>]
type ITransSynchronizationAgent =  interface end
public interface ITransSynchronizationAgent

ITransSynchronizationAgent 型別公開下列成員。

屬性

  名稱 說明
公用屬性 AltSnapshotFolder Gets or sets the alternate snapshot folder for the subscription.
公用屬性 ComErrorCollection Gets a collection of errors that are generated by the replication agent.
公用屬性 Distributor Gets or sets the name of the instance of Microsoft SQL Server that is acting as the Distributor for the subscription.
公用屬性 DistributorAddress Gets or sets the network address that is used to connect to the Distributor when the DistributorNetwork property is specified.
公用屬性 DistributorEncryptedPassword Gets or sets the encrypted password associated with the distributor.
公用屬性 DistributorLogin Gets or sets the login name that is used when connecting to the Distributor by using SQL Server Authentication.
公用屬性 DistributorNetwork Gets or sets the client Net-Library that is used when connecting to the Distributor.
公用屬性 DistributorPassword Sets the password that is used when connecting to the Distributor by using SQL Server Authentication.
公用屬性 DistributorSecurityMode Gets or sets the security mode that is used when connecting to the Distributor.
公用屬性 DtsPackageFileName Gets or sets the name and path of a Microsoft SQL Server 2000 Data Transformation Services (DTS) package that is used to transform command rowsets before they are applied to a Subscriber.
公用屬性 DtsPackagePassword Gets or sets the owner password that used to access the Microsoft SQL Server 2000 Data Transformation Services (DTS) package specified by the DtsPackageFileName property.
公用屬性 FileTransferType Gets or sets how the initial snapshot files are transferred to the Subscriber.
公用屬性 HostName Gets or sets the hostname associated with the agent.
公用屬性 LastUpdatedTime Gets the timestamp of the last time that replication agent synchronized the subscription.
公用屬性 LoginTimeout Gets or sets the maximum number of seconds to wait for connections to be established.
公用屬性 MaxDeliveredTransactions Gets or sets the maximum number of transactions that are applied to the Subscriber during a single agent execution.
公用屬性 Output Gets or sets the file name and path of the agent output file.
公用屬性 OutputVerboseLevel Gets or sets the amount of information that is logged by the Distribution Agent in the agent output file.
公用屬性 ProfileName Gets or sets the name of the profile that is used by the agent.
公用屬性 Publication Gets or sets the name of the publication.
公用屬性 Publisher Gets or sets the name of the instance of Microsoft SQL Server that is the Publisher for the subscription.
公用屬性 PublisherDatabase Gets or sets the name of the publication database.
公用屬性 QueryTimeout Gets or sets the number of seconds that are allowed for internal queries to complete.
公用屬性 SkipErrors Gets or sets a colon-separated list of the error numbers that are to be skipped by this agent.
公用屬性 Subscriber Gets or sets the name of the instance of Microsoft SQL Server that is the Subscriber.
公用屬性 SubscriberDatabase Gets or sets the name of the subscription database.
公用屬性 SubscriberDatabasePath Gets or sets the path of the subscription database.
公用屬性 SubscriberDataSourceType Gets or sets the type of data source that is used as the Subscriber.
公用屬性 SubscriberEncryptedPassword Gets or sets the encrypted password associated with the subscriber.
公用屬性 SubscriberLogin Gets or sets the login name that is used when connecting to the Subscriber by using SQL Server Authentication.
公用屬性 SubscriberPassword Gets or sets the password that is used when connecting to the Subscriber by using SQL Server Authentication.
公用屬性 SubscriberSecurityMode Gets or sets the security mode that is used when connecting to the Publisher.
公用屬性 SubscriptionType Gets or sets whether the subscription is a push or pull subscription.
公用屬性 UndeliveredCommands Gets the number of undelivered commands for the agent.
公用屬性 UndeliveredTransactions Gets the number of undelivered transactions for the agent.
公用屬性 UseInProcLoader Gets or sets whether to use the BULK INSERT command when applying snapshot files at the Subscriber.
公用屬性 WorkingDirectory Gets or sets the working directory from which snapshot files are accessed when File Transfer Protocol (FTP) is used.

上層

方法

  名稱 說明
公用方法 Abort Aborts the operation of ITransSynchronizationAgent.
公用方法 IsSnapshotRequired Specifies whether a new snapshot will be applied during the next agent synchronization.
公用方法 Synchronize Starts the Distribution Agent to synchronize the subscription.

上層

備註

See TransSynchronizationAgentfor information on members of ITransSynchronizationAgent.

請參閱

參考

Microsoft.SqlServer.Replication 命名空間