Compartir a través de


Clase AgentCore

Implements the core functionality for managed replication agents.

Jerarquía de herencia

System. . :: . .Object
  System. . :: . .MarshalByRefObject
    Microsoft.SqlServer.Replication..::..AgentCore
      Microsoft.SqlServer.Replication. . :: . .SnapshotGenerationAgent

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)

Sintaxis

'Declaración
<ComVisibleAttribute(True)> _
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, Name := "Microsoft.SqlServer.Replication",  _
    PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public MustInherit Class AgentCore _
    Inherits MarshalByRefObject
'Uso
Dim instance As AgentCore
[ComVisibleAttribute(true)]
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, Name = "Microsoft.SqlServer.Replication", 
    PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public abstract class AgentCore : MarshalByRefObject
[ComVisibleAttribute(true)]
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, Name = L"Microsoft.SqlServer.Replication", 
    PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class AgentCore abstract : public MarshalByRefObject
[<AbstractClassAttribute>]
[<ComVisibleAttribute(true)>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, Name = "Microsoft.SqlServer.Replication", 
    PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type AgentCore =  
    class
        inherit MarshalByRefObject
    end
public abstract class AgentCore extends MarshalByRefObject

El tipo AgentCore expone los siguientes miembros.

Constructores

  Nombre Descripción
Método protegido AgentCore Creates an instance of the AgentCore class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública AbortPolicy Gets or sets how running replication agent threads are terminated when an unanticipated shutdown occurs.
Propiedad pública ComErrorCollection Returns information on errors that occur during agent execution.
Propiedad pública FlatExceptionCollection Infraestructura.
Propiedad pública HistoryVerboseLevel Gets or sets the amount of history logged during agent execution.
Propiedad pública LoginTimeout Get or sets the number of seconds before the login times out for connections made by the agent.
Propiedad pública Output Get or sets the name and path of the agent output file.
Propiedad pública OutputVerboseLevel Gets or sets the level of detail of information written to the agent output file.
Propiedad pública PacketSize Infraestructura.
Propiedad pública ProfileName Gets or sets an agent profile to use when running the agent.
Propiedad pública PublisherFailoverPartner Gets or sets the failover partner instance of SQL Server participating in a database mirroring session with the publication database.
Propiedad pública QueryTimeout Get or sets the number of seconds before a query times out.

Arriba

Métodos

  Nombre Descripción
Método público Abort
Método público CreateObjRef (Se hereda de MarshalByRefObject.)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetLifetimeService (Se hereda de MarshalByRefObject.)
Método público GetType (Se hereda de Object.)
Método público InitializeLifetimeService (Se hereda de MarshalByRefObject.)
Método protegido MemberwiseClone() () () () (Se hereda de Object.)
Método protegido MemberwiseClone(Boolean) (Se hereda de MarshalByRefObject.)
Método público ResetParametersToDefault
Método público ToString (Se hereda de Object.)

Arriba

Eventos

  Nombre Descripción
Evento público ComStatus
Evento público Status Occurs when a running agent returns status information.

Arriba

Comentarios

Do not use AgentCore. Instead use the derived agent classes SnapshotGenerationAgent, MergeSynchronizationAgent, and TransSynchronizationAgent.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.