IWSManSession::Put method

Updates a resource.

Syntax

HRESULT Put(
  VARIANT resourceUri,
  BSTR    resource,
  long    flags,
  BSTR    *resultResource
);

Parameters

resourceUri

The identifier of the resource to be updated.

This parameter can contain one of the following:

resource

The updated resource content.

flags

Reserved for future use. Must be set to 0.

resultResource

Return Value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header wsmandisp.h
Library WSManDisp.tlb
DLL WSMAuto.dll

See Also

IWSManSession

Session.Put