Esempio n. 1
0
        public CimInstanceNamePathList ReferenceNames(ReferenceNamesWithInstanceNameOpSettings settings)
        {
            SingleResponse response = MakeSingleRequest("ReferenceNames", settings);

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

            CheckSingleResponse(response, typeof(CimInstanceNamePathList));

            return (CimInstanceNamePathList)response.Value;
        }
Esempio n. 2
0
        public void ReferenceNames(ReferenceNamesWithInstanceNameOpSettings 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);
        }