AgentCore Members

Implements the core functionality for managed replication agents.

The following tables list the members exposed by the AgentCore type.

Protected Constructors

  名称 Description
AgentCore Creates an instance of the AgentCore class.

顶部

Public Properties

  名称 Description
ms149527.pubproperty(zh-cn,SQL.90).gif AbortPolicy Gets or sets how running replication agent threads are terminated when an unanticipated shutdown occurs.
ms149527.pubproperty(zh-cn,SQL.90).gif ComErrorCollection Returns information on errors that occur during agent execution.
ms149527.pubproperty(zh-cn,SQL.90).gif FlatExceptionCollection  
ms149527.pubproperty(zh-cn,SQL.90).gif HistoryVerboseLevel Gets or sets the amount of history logged during agent execution.
ms149527.pubproperty(zh-cn,SQL.90).gif LoginTimeout Get or sets the number of seconds before the login times out for connections made by the agent.
ms149527.pubproperty(zh-cn,SQL.90).gif Output Get or sets the name and path of the agent output file.
ms149527.pubproperty(zh-cn,SQL.90).gif OutputVerboseLevel Gets or sets the level of detail of information written to the agent output file.
ms149527.pubproperty(zh-cn,SQL.90).gif PacketSize  
ms149527.pubproperty(zh-cn,SQL.90).gif ProfileName Gets or sets an agent profile to use when running the agent.
ms149527.pubproperty(zh-cn,SQL.90).gif PublisherFailoverPartner Gets or sets the failover partner instance of SQL Server participating in a database mirroring session with the publication database.
ms149527.pubproperty(zh-cn,SQL.90).gif QueryTimeout Get or sets the number of seconds before a query times out.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms149527.pubmethod(zh-cn,SQL.90).gif Abort  
ms149527.pubmethod(zh-cn,SQL.90).gif CreateObjRef  (inherited from MarshalByRefObject )
ms149527.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms149527.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms149527.pubmethod(zh-cn,SQL.90).gif GetLifetimeService  (inherited from MarshalByRefObject )
ms149527.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms149527.pubmethod(zh-cn,SQL.90).gif InitializeLifetimeService  (inherited from MarshalByRefObject )
ms149527.pubmethod(zh-cn,SQL.90).gifms149527.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms149527.pubmethod(zh-cn,SQL.90).gif ResetParametersToDefault  
ms149527.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms149527.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms149527.protmethod(zh-cn,SQL.90).gif MemberwiseClone  Overloaded. (inherited from MarshalByRefObject )

顶部

Public Events

  名称 Description
ms149527.pubevent(zh-cn,SQL.90).gif ComStatus  
ms149527.pubevent(zh-cn,SQL.90).gif Status Occurs when a running agent returns status information.

顶部

请参阅

参考

AgentCore Class
Microsoft.SqlServer.Replication Namespace