TransSynchronizationAgent Members
Provides the functionality of the Replication Distribution Agent.
The following tables list the members exposed by the TransSynchronizationAgent type.
Public Constructors
名稱 | Description | |
---|---|---|
TransSynchronizationAgent | Creates an instance of the TransSynchronizationAgent class. |
頂端
Public Properties
名稱 | Description | |
---|---|---|
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 | ||
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 | ||
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. | |
SecureDistributorEncryptedPassword | ||
SecureSubscriberEncryptedPassword | ||
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 | ||
SubscriberDataSourceType | Gets or sets the type of data source that is used as the Subscriber. | |
SubscriberEncryptedPassword | ||
SubscriberLogin | Gets or sets the login name that is used when connecting to the Subscriber by using SQL Server Authentication. | |
SubscriberPassword | 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 | ||
UndeliveredTransactions | ||
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. |
頂端
Public Methods
(see also Protected Methods )
名稱 | Description | |
---|---|---|
Abort | ||
CreateObjRef | (inherited from MarshalByRefObject ) | |
Dispose | Overloaded. | |
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetLifetimeService | (inherited from MarshalByRefObject ) | |
GetType | (inherited from Object ) | |
InitializeLifetimeService | (inherited from MarshalByRefObject ) | |
IsSnapshotRequired | Connects to the Distributor and the Subscriber to determine whether a new snapshot will be applied during the next agent synchronization. | |
ReferenceEquals | (inherited from Object ) | |
Synchronize | Starts the Distribution Agent to synchronize the subscription. | |
ToString | (inherited from Object ) |
頂端
Protected Methods
名稱 | Description | |
---|---|---|
Dispose | Overloaded. | |
Finalize | Overridden. | |
MemberwiseClone | Overloaded. (inherited from MarshalByRefObject ) |
頂端
Public Events
名稱 | Description | |
---|---|---|
ComStatus | ||
Status | Occurs when the Distribution Agent returns synchronization status information. |
頂端
請參閱
參考
TransSynchronizationAgent Class
Microsoft.SqlServer.Replication Namespace
其他資源
如何:同步處理提取訂閱 (RMO 程式設計)
如何:同步處理發送訂閱 (RMO 程式設計)
Replication Distribution Agent