Ejemplo n.º 1
0
        public CimInstancePathList Associators(AssociatorsWithInstanceNameOpSettings settings)
        {
            SingleResponse response = MakeSingleRequest("Associators", settings);

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

            CheckSingleResponse(response, typeof(CimInstancePathList));

            return (CimInstancePathList)response.Value;
        }
Ejemplo n.º 2
0
        public void Associators(AssociatorsWithInstanceNameOpSettings settings, CimDataTypeHandler callBack)
        {
            ParseResponse pr = new ParseResponse();

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

            pr.ParseXml(respXml, callBack);
        }