WorkflowInfo.Update(FunctionInfo, Boolean, ScopedItemOptions, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update a workflow
protected public:
override void Update(System::Management::Automation::FunctionInfo ^ function, bool force, System::Management::Automation::ScopedItemOptions options, System::String ^ helpFile);
protected internal override void Update (System.Management.Automation.FunctionInfo function, bool force, System.Management.Automation.ScopedItemOptions options, string helpFile);
override this.Update : System.Management.Automation.FunctionInfo * bool * System.Management.Automation.ScopedItemOptions * string -> unit
Protected Friend Overrides Sub Update (function As FunctionInfo, force As Boolean, options As ScopedItemOptions, helpFile As String)
Parameters
- function
- FunctionInfo
The script block that the function should represent.
- force
- Boolean
If true, the script block will be applied even if the filter is ReadOnly.
- options
- ScopedItemOptions
Any options to set on the new function, null if none.
- helpFile
- String
Helpfile for this function