Поделиться через


Интерфейс 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