Share via


DeploymentObject.Invoke(String, Object[]) Method

Definition

Executes a named DeploymentMethod from the DeploymentManager.

public:
 System::Object ^ Invoke(System::String ^ methodName, ... cli::array <System::Object ^> ^ parameters);
public object Invoke (string methodName, params object[] parameters);
member this.Invoke : string * obj[] -> obj
Public Function Invoke (methodName As String, ParamArray parameters As Object()) As Object

Parameters

methodName
String

The name of the DeploymentMethod to invoke.

parameters
Object[]

The parameters used by the DeploymentMethod.

Returns

A System.Object result returned from the DeploymentManager.

Applies to