Exemplo n.º 1
0
        public CimClassNamePathList ReferenceNames(ReferenceNamesWithClassNameOpSettings settings)
        {
            SingleResponse response = MakeSingleRequest("References", settings);

            if (response.Value == null)
            {
                return new CimClassNamePathList();  // return an empty list
            }

            CheckSingleResponse(response, typeof(CimClassNamePathList));

            return (CimClassNamePathList)response.Value;
        }
Exemplo n.º 2
0
        public void ReferenceNames(ReferenceNamesWithClassNameOpSettings settings, CimDataTypeHandler callBack)
        {
            ParseResponse pr = new ParseResponse();

            string opXml = Wbem.CimXml.CreateRequest.ToXml(settings, this.DefaultNamespace);
            string respXml = ExecuteRequest("References", opXml);

            pr.ParseXml(respXml, callBack);
        }