#region Private data // the action to take private IisResetAction _Action = IisResetAction.Restart; // computer private bool _Local = true; private string _RemoteMachine = string.Empty; #endregion #region Properties [Description("The action to take, such as restart, stop, or start.")] [Category("Behavior")] [Important] public IisResetAction Action { get { return _Action; } set { _Action = value; } } [Description("Whether to take action on the local computer or on a remote computer.")] [Category("Computer")] [Important] public bool Local { get { return _Local; } set { _Local = value; } } [Description("The remote computer to take action on. If you specify a value for this property, you must set the Local property to false.")] [Category("Computer")] [Important] public string RemoteComputer { get { return _RemoteMachine; } set { _RemoteMachine = value; } } #endregion