13(2005-06-09)                                                    3(2005-06-09)
2
3
4

NAME

6       CMCIClientFT.getInstance() - Get class instance
7

SYNOPSIS

9       #include <cmci.h>
10
11       CMPIInstance*
12       CMCIClientFT.getInstance(CMCIClient*cl,
13                      CMPIObjectPath*op,
14                      CMPIFlagsflags,
15                      char**properties,
16                      CMPIStatus*rc);
17
18

DESCRIPTION

20       Get  class  instance using op as reference. The content of the returned
21       class instance structure can be controled using the flags parameter.
22
23       Arguments are the client object pointer cl, ObjectPath  object  pointer
24       op  that  contains  namespace and classname components, flags to affect
25       the returned class instance structure content,
26        properties array, and rc which  returns  the  operation  status  (sup‐
27       pressed when NULL).
28
29       The  flags  argument is a bit mask that can contain combinations of the
30       following flags - CMPI_FLAG_LocalOnly, CMPI_FLAG_IncludeQualifiers, and
31       CMPI_FLAG_IncludeClassOrigin.
32
33       The properties array defines what properties should be returned for the
34       class.  If this argument is not NULL, only the class properties in  the
35       list are returned.  If it's NULL all class properties are returned.
36

RETURN VALUE

38       When  successful  the  CMCIClientFT.getInstance()  function  returns  a
39       pointer to a CMPIInstance object and sets a successful status code  for
40       rc.   When  unsuccessful  it returns NULL and sets the rc argument with
41       the error code and and corresponding error string.
42

ERRORS

EXAMPLES

CONFORMING TO

SEE ALSO

47       Common Manageability Programming Interface (CMPI) - OpenGroup,
48       CMCIClient(3), CMPIInstance(3), CMPIObjectPath(3), CMPIFlags(3), CMPIS‐
49       tatus(3)
50
51
52
53SFCBroker Client Library             sfcc                        3(2005-06-09)
Impressum