IActivityInput Interface

Definition

Use the IActivityInput interface to design a specific input for an Activity.

C#
public interface IActivityInput

Examples

C#
public void Design(IActivityDesigner designer)  
{     
    designer.AddInput("Host").WithComputerBrowser();  
    designer.AddInput("Port");  
    designer.AddInput("Use Default Credentials").WithBooleanBrowser();  
    designer.AddInput("UserName").NotRequired();  
    designer.AddInput("Password").NotRequired().PasswordProtect();     
    designer.AddInput("Delivery Method").WithEnumBrowser(typeof(DeliveryOptions));  
}  

Methods

NotRequired()

Use this method to make the input optional.

PasswordProtect()

Use this method to encrypt the input and ensure that it is not displayed in plain text.

WithBooleanBrowser()

Use this method to include a boolean browser when displaying the input in the OIS client.

WithComputerBrowser()

Use this method to include a computer browser when displaying the input in the OIS client.

WithDateTimeBrowser()

Use this method to include a date/time browser when displaying the input in the OIS client.

WithDefaultValue(Object)

Use this method to set a default value when initialing displaying the input in the OIS client.

WithEnumBrowser(Type)

Use this method to include a list browser with the specified enumeration.

WithFileBrowser()

Use this method to include a file browser when displaying the input in the OIS client.

WithFolderBrowser()

Use this method to include a folder browser when displaying the input in the OIS client.

WithListBrowser(IEnumerable)

Use this method to include a list browser with the specified items.

WithListBrowser(Object[])

Use this method to include a list browser with the specified items.

WithRedesign()

Applies to

Produkt Verzie
System Center Orch SDK 2012, 2016