Пример #1
0
        public CimClassNamePathList AssociatorNames(AssociatorNamesWithClassNameOpSettings settings)
        {
            SingleResponse response = MakeSingleRequest("AssociatorNames", settings);

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

            CheckSingleResponse(response, typeof(CimClassNamePathList));

            return (CimClassNamePathList)response.Value;
        }
Пример #2
0
        public void AssociatorNames(AssociatorNamesWithClassNameOpSettings 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);
        }