AgentCore 클래스

Implements the core functionality for managed replication agents.

상속 계층

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

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Replication(Microsoft.SqlServer.Replication.dll)

구문

‘선언
<ComVisibleAttribute(True)> _
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, Name := "Microsoft.SqlServer.Replication",  _
    PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public MustInherit Class AgentCore _
    Inherits MarshalByRefObject
‘사용 방법
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

AgentCore 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
보호된 메서드 AgentCore Creates a new instance of the AgentCore class.

맨 위로 이동

속성

  이름 설명
공용 속성 AbortPolicy Gets or sets how running replication agent threads are terminated when an unanticipated shutdown occurs.
공용 속성 ComErrorCollection Gets information on errors that occur during agent execution.
공용 속성 FlatExceptionCollection 인프라입니다. Gets the collection of exception objects accessed using the IEnumerable interface.
공용 속성 HistoryVerboseLevel Gets or sets the amount of history logged during agent execution.
공용 속성 LoginTimeout Get or sets the number of seconds before the login times out for connections made by the agent.
공용 속성 Output Gets or sets the name and path of the agent output file.
공용 속성 OutputVerboseLevel Gets or sets the level of detail of information written to the agent output file.
공용 속성 PacketSize 인프라입니다. Gets or sets the packet size associated with the agent.
공용 속성 ProfileName Gets or sets an agent profile to use when running the agent.
공용 속성 PublisherFailoverPartner Gets or sets the failover partner instance of SQL Server participating in a database mirroring session with the publication database.
공용 속성 QueryTimeout Gets or sets the number of seconds before a query times out.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Abort Aborts the process of the current instance.
공용 메서드 CreateObjRef 보안에 중요합니다. (MarshalByRefObject에서 상속됨)
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetLifetimeService 보안에 중요합니다. (MarshalByRefObject에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 InitializeLifetimeService 보안에 중요합니다. (MarshalByRefObject에서 상속됨)
보호된 메서드 MemberwiseClone() (Object에서 상속됨)
보호된 메서드 MemberwiseClone(Boolean) (MarshalByRefObject에서 상속됨)
공용 메서드 ResetParametersToDefault Resets the value of the parameters to default.
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

이벤트

  이름 설명
공용 이벤트 ComStatus 인프라입니다. Occurs when a running agent returns synchronization Com status information.
공용 이벤트 Status Occurs when a running agent returns status information.

맨 위로 이동

주의

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

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Replication 네임스페이스