WSMan.Error property

Gets additional error information, in an XML stream, for the preceding call to a WSMan method if Windows Remote Management service was unable to create a Session object, a ConnectionOptions object, or a ResourceLocator object.

This property is read-only.

Syntax

WSMan.Error As BSTR

Property value

The XML representation of the error information.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
WSManDisp.h
IDL
WSManDisp.idl
Library
WSManDisp.tlb
DLL
WSMAuto.dll

See also

WSMan