ProxyCommand.GetBegin
Method
Definition
This method constructs a string representing the begin block of the command
specified by commandMetadata. The returned string only contains the
script, it is not enclosed in "begin { }".
public static string GetBegin (System.Management.Automation.CommandMetadata commandMetadata);
Parameters
- commandMetadata
- CommandMetadata
An instance of CommandMetadata representing a command.
Returns
A string representing the begin block of the command.
Exceptions
commandMetadata is null.