Share via


IActivityDesigner.AddOutput Method

Add an output to the Activity.

Namespace: Microsoft.SystemCenter.Orchestrator.Integration
Assembly: Microsoft.SystemCenter.Orchestrator.Integration (in Microsoft.SystemCenter.Orchestrator.Integration.dll)

Usage

'Usage
Dim instance As IActivityDesigner
Dim name As String
Dim returnValue As IActivityOutput

returnValue = instance.AddOutput(name)

Syntax

'Declaration
Function AddOutput ( _
    name As String _
) As IActivityOutput
IActivityOutput AddOutput (
    string name
)
IActivityOutput^ AddOutput (
    String^ name
)
IActivityOutput AddOutput (
    String name
)
function AddOutput (
    name : String
) : IActivityOutput

Parameters

  • name
    The name of the new output.

Return Value

Returns IActivityOutput.

Example

public void Design(IActivityDesigner designer)
{   
    designer.AddOutput("Incident Count").AsNumber();
    designer.AddOutput("Importance").WithFilter().WithListBrowser("High", "Medium", "Low");
    designer.AddOutput("Incident Date").AsDateTime().WithFilter();
}

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Change History

See Also

Reference

IActivityDesigner Interface
IActivityDesigner Members
Microsoft.SystemCenter.Orchestrator.Integration Namespace