예제 #1
0
        public CimClassPathList References(ReferencesWithClassNameOpSettings settings)
        {
            SingleResponse response = MakeSingleRequest("References", settings);

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

            CheckSingleResponse(response, typeof(CimClassPathList));

            return (CimClassPathList)response.Value;
        }
예제 #2
0
        public void References(ReferencesWithClassNameOpSettings 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);
        }