Clears the list of error objects.
PSConnectionClass objects
connectionobject.ClearError( )
Argument |
Description |
---|---|
connectionobject |
A variable that contains a reference to an instance of PSConnectionClass |
None
At runtime, ClearError dstroys the current error object by setting it to null.
The following code clears the list of errors for a PSConnectionClass connection object called myconnect:
myconnect.ClearError();