public IObservable <Win32SoftwareElement> SoftwareAsync(CIMComputerSystem inSystem, CimOperationOptions options = null) { var scope = _scope; var instances = _resolver.ResolveSourceAsync(scope, inSystem.AsCimInstance(), options); return(instances.Select(i => (Win32SoftwareElement)scope.Mapper.Create(scope, i))); }
public System.UInt32 EvictNode(CIMComputerSystem inCS) { var parameters = new CimMethodParametersCollection(); if (inCS != null) { parameters.Add(CimMethodParameter.Create("CS", inCS.AsCimInstance(), CimType.Reference, inCS == null ? CimFlags.NullValue : CimFlags.None)); } var result = InfrastuctureObjectScope.CimSession.InvokeMethod(InnerCimInstance, "EvictNode", parameters); return((System.UInt32)result.ReturnValue.Value); }