Service.Alter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates any Service object property changes on an instance of SQL Server.
public:
virtual void Alter();
public void Alter ();
abstract member Alter : unit -> unit
override this.Alter : unit -> unit
Public Sub Alter ()
Implements
Examples
Managing Services and Network Settings by Using WMI Provider
Remarks
The Alter method updates any changes that have been made to the Service object's properties since the Service object was created or since the last ALTER
statement. The modifications are combined and sent to the instance of SQL Server in a single network trip to the instance of SQL Server.