EnterpriseWebLibrary.InstallationSupportUtility.InstallationModel.ExistingInstallationLogic.Stop C# (CSharp) Method

Stop() public method

Stops all web sites and services associated with this installation.
public Stop ( bool stopServices ) : void
stopServices bool
return void
        public void Stop( bool stopServices )
        {
            if( runtimeConfiguration.InstallationType != InstallationType.Development ) {
                foreach( var site in runtimeConfiguration.WebSiteNames )
                    stopWebSite( site );
            }
            if( stopServices )
                this.stopServices();
        }