Ejemplo n.º 1
0
        public CimInstanceNamePathList AssociatorNames(AssociatorNamesWithInstanceNameOpSettings settings)
        {
            SingleResponse response = MakeSingleRequest("AssociatorNames", settings);

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

            CheckSingleResponse(response, typeof(CimInstanceNamePathList));

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

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

            pr.ParseXml(respXml, callBack);
        }