Share via


Assembly

Applies To: System Center Service Manager 2010

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Refers to the ID of an assembly resource that contains the specified handler for a console task.

Schema Hierarchy

ManagementPack
  Presentation
    ConsoleTasks
      ConsoleTask
        Assembly

Syntax

<Assembly>assembly resource ID</Assembly>

Attributes and Elements

The following sections describe attributes, child elements, and the parent element of the Assembly element.

Attributes

None.

Child Elements

None.

Parent Elements

Element Description

ConsoleTask

Represents a console task definition.

Remarks

The assembly resource ID refers to an Assembly (Resources) in the Resources section of a management pack.

Example

The following sample XML shows how an assembly resource ID is specified within the Assembly element of a console task.

<Resources>
   <Assembly ID="SdkDataAccessAssembly" Accessibility="Public" QualifiedName="Microsoft.EnterpriseManagement.UI.SdkDataAccess" FileName="Microsoft.EnterpriseManagement.UI.SdkDataAccess.dll" />
</Resources>
…

<ConsoleTask ID="Microsoft.EnterpriseManagement.ServiceManager.UI.Administration.Task.DisableADConnector" Target="ADConnector!System.LinkingFramework.ActiveDirectorySource" Accessibility="Public" RequireOutput="false">
  <Criteria>/Microsoft.SystemCenter.Connector/Enabled/@Value='True'</Criteria>
  <Assembly>Console!SdkDataAccessAssembly</Assembly>
  <Handler>Microsoft.EnterpriseManagement.UI.SdkDataAccess.ConsoleTaskHandler</Handler>
  <Parameters>
    <Argument Name="Assembly">Microsoft.EnterpriseManagement.ServiceManager.UI.Administration</Argument>
    <Argument Name="Type">Microsoft.EnterpriseManagement.ServiceManager.UI.Administration.Connectors.Common.ConnectorTaskHandler</Argument>
    <Argument>Disable</Argument>
  </Parameters>
</ConsoleTask>

See Also

Reference

Assembly (Resources)
ConsoleTasks