References


There are a couple of gotchas around references:

  • Arrays of References are forbidden. The CIM language specification explicitly forbids arrays of references; arrays of any other basic type are legal.

  • References must be keys. Where references are used (in associations), they must be keys.

If you find either of these restrictions on your use of references constraining, then consider using Object Paths (defined as stringssee page 66) containing the full pathname of an instance instead of a reference. These may require more memory and may be more inefficient to handle but they are normally more flexible.




A Practical Approach to WBEM[s]CIM Management
A Practical Approach to WBEM[s]CIM Management
ISBN: 849323061
EAN: N/A
Year: 2006
Pages: 152

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net