Share via


ProtocolBase.Alter Method

Updates any Protocol object property changes on an instance of SQL Server.

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

'Declaration
Public Sub Alter
'Usage
Dim instance As ProtocolBase

instance.Alter()
public void Alter()
public:
virtual void Alter() sealed
abstract Alter : unit -> unit  
override Alter : unit -> unit
public final function Alter()

Implements

IAlterable.Alter()

Remarks

The Alter method updates any changes that have been made to the Protocol object's properties since the Protocol 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.

Examples

Managing Services and Network Settings by Using WMI Provider

See Also

Reference

ProtocolBase Class

Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

WMI and SQL Server

Connecting to the SQL Server Database Engine