次の方法で共有


FlagDefs enumeration

Specifies which flags are valid for the specified type of operation. This enumeration is used by the Provider::ValidateFlags method.

Syntax

enum FlagDefs {
  EnumerationFlags  = (WBEM_FLAG_DIRECT_READ | WBEM_FLAG_SEND_STATUS), 
  GetObjFlags       = (WBEM_FLAG_SEND_STATUS | WBEM_FLAG_DIRECT_READ), 
  MethodFlags       = WBEM_FLAG_SEND_STATUS, 
  DeletionFlags     = WBEM_FLAG_SEND_STATUS, 
  PutInstanceFlags  = (WBEM_FLAG_CREATE_ONLY | WBEM_FLAG_CREATE_OR_UPDATE | WBEM_FLAG_UPDATE_ONLY | WBEM_FLAG_SEND_STATUS), 
  QueryFlags        = WBEM_FLAG_SEND_STATUS | WBEM_FLAG_DIRECT_READ 

};

Constants

  • EnumerationFlags
    Flags that are valid for enumeration operations.

  • GetObjFlags
    Flags that are valid for operations that retrieve objects.

  • MethodFlags
    Flags that are valid for method operations.

  • DeletionFlags
    Flags that are valid for a delete operation.

  • PutInstanceFlags
    Flags that are valid for operations that create or update class instances.

  • QueryFlags
    Flags that are valid for a query operation.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Provider.h

See also

CThreadBase Enumerations