IWSManSession interface (wsmandisp.h)
Defines operations and session settings. Any Windows Remote Management operations require creation of an IWSManSession object that connects to a remote computer, base management controller (BMC), or the local computer. WinRM network operations include getting, writing, enumerating data, or invoking methods. The methods of the IWSManSession object mirror the basic operations defined in the WS-Management protocol.
Inheritance
The IWSManSession interface inherits from the IUnknown interface. IWSManSession also has these types of members:
Methods
The IWSManSession interface has these methods.
IWSManSession::Create Creates a new instance of a resource and returns the endpoint reference (EPR) of the new object. |
IWSManSession::Delete Deletes the resource specified in the resource URI. |
IWSManSession::Enumerate Enumerates a table, data collection, or log resource. |
IWSManSession::Get Retrieves the resource specified by the URI and returns an XML representation of the current instance of the resource. |
IWSManSession::get_BatchItems Sets and gets the number of items in each enumeration batch. (Get) |
IWSManSession::get_Error Gets additional error information in an XML stream for the preceding call to an IWSManSession object method. |
IWSManSession::get_Timeout Sets and gets the maximum amount of time, in milliseconds, that the client application waits for Windows Remote Management to complete its operations. (Get) |
IWSManSession::Identify Queries a remote computer to determine if it supports the WS-Management protocol. |
IWSManSession::Invoke Invokes a method and returns the results of the method call. |
IWSManSession::Put Updates a resource. |
IWSManSession::put_BatchItems Sets and gets the number of items in each enumeration batch. (Put) |
IWSManSession::put_Timeout Sets and gets the maximum amount of time, in milliseconds, that the client application waits for Windows Remote Management to complete its operations. (Put) |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | wsmandisp.h |