COM+ Minutes to idle shutdown programmatically?

  • Thread starter Thread starter Tim Werth
  • Start date Start date
T

Tim Werth

Is there an attribute or property that I can set in my AssemblyInfo.cs that
is used to setup my COM+ application so that I can set the "Minutes until
idle shutdown" of the app to something other than the 3 minute default?

I am using others like:
ApplicationName
ApplicationActivation
ApplicationAccessControl

but I can't find one to set the idle shutdown.

Thanks,
Tim
 
Hi Tim,

Thanks for using Microsoft MSDN Managed Newsgroup.

Currently I am looking for somebody who could help you on it. We will reply
here with more information as soon as possible.
If you have any more concerns on it, please feel free to post here.


Best regards,

Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
 
Hello Tim,

Thanks for your post. As I understand, you want to set COM+ Idle Shutdown
programmatically. Please correct me if there is any misunderstanding. I now
share the following information with you:

Based on my experience and research, I believe that there is no property we
can set in AssemblyInfo.cs to change the Idle Shutdown time. You can use
the property "ShutdownAfter" of the COM+ Applications (in COMAdmin) to
implement your requirement. For more inforation, please refer to the
following article:

ShutdownAfter
http://msdn.microsoft.com/library/en-us/cossdk/htm/comadmincollections_2ram.
asp?frame=true#_cos_applications_shutdownafter

Automating COM+ Administration
http://msdn.microsoft.com/library/en-us/cossdk/htm/pgautomatingadmin_9a26.as
p?frame=true

Summary Description of the COMAdmin Classes
http://msdn.microsoft.com/library/en-us/cossdk/htm/pgautomatingadmin_6voz.as
p?frame=true

Overview of the COMAdmin Objects
http://msdn.microsoft.com/library/en-us/cossdk/htm/pgautomatingadmin_64fn.as
p?frame=true

Please feel free to let me know if you have any problems or concerns.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Yes, I want to set the COM+ Idle Shutdown programmatically. Thanks for the
links to those topics. I looked at them and that is exactly what I need.

Thanks for you help!
Tim
 
Back
Top