IActivityDesigner.AddInput Method
Add an input 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 IActivityInput
returnValue = instance.AddInput(name)
Syntax
'Declaration
Function AddInput ( _
name As String _
) As IActivityInput
IActivityInput AddInput (
string name
)
IActivityInput^ AddInput (
String^ name
)
IActivityInput AddInput (
String name
)
function AddInput (
name : String
) : IActivityInput
Parameters
- name
The name of the input to be added.
Return Value
Returns IActivityInput.
Example
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));
}
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