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 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
AbortPolicy | Gets or sets how running replication agent threads are terminated when an unanticipated shutdown occurs. |
![]() |
ComErrorCollection | Returns information on errors that occur during agent execution. |
![]() |
FlatExceptionCollection | 基础结构。 |
![]() |
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 | Get 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 | 基础结构。 |
![]() |
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 | Get or sets the number of seconds before a query times out. |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Abort | |
![]() |
CreateObjRef | (从 MarshalByRefObject 继承。) |
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetLifetimeService | (从 MarshalByRefObject 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
InitializeLifetimeService | (从 MarshalByRefObject 继承。) |
![]() |
MemberwiseClone() () () () | (从 Object 继承。) |
![]() |
MemberwiseClone(Boolean) | (从 MarshalByRefObject 继承。) |
![]() |
ResetParametersToDefault | |
![]() |
ToString | (从 Object 继承。) |
页首
注释
Do not use AgentCore. Instead use the derived agent classes SnapshotGenerationAgent, MergeSynchronizationAgent, and TransSynchronizationAgent.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。