修复操作数据库中代理和管理服务器之间的重复关系
Microsoft.SystemCenter.2007.OpsMgrDB.FixDuplicateAgntToSrvRel.Task (Task)
此任务将修复所有重复记录。
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.SystemCenter.2007.OpsMgrDB.FixDuplicateAgntToSrvRel.Task" Accessibility="Internal" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.OpsMgrDBWatcher" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="FixOpsMgrDbRelDuplicates" TypeID="Microsoft.SystemCenter.2007.OpsMgrDB.FixDuplicateAgntToSrvRel">
<TimeoutSeconds>300</TimeoutSeconds>
<DatabaseServerName>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.OpsMgrDBWatcher"]/DatabaseServerName$</DatabaseServerName>
<DatabaseName>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.OpsMgrDBWatcher"]/DatabaseName$</DatabaseName>
</WriteAction>
</Task>