Share via


Service.Alter Method

Definition

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.

Applies to