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; }
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); }