Bagikan melalui


Server.Alter Method (Boolean)

Updates any Server object property changes on the instance of SQL Server with the option to override value checking.

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

Syntax

'Declaration
Public Sub Alter ( _
    overrideValueChecking As Boolean _
)
'Usage
Dim instance As Server 
Dim overrideValueChecking As Boolean

instance.Alter(overrideValueChecking)
public void Alter(
    bool overrideValueChecking
)
public:
void Alter(
    bool overrideValueChecking
)
member Alter : 
        overrideValueChecking:bool -> unit
public function Alter(
    overrideValueChecking : boolean
)

Parameters

  • overrideValueChecking
    Type: System.Boolean
    A Boolean value that specifies whether to override validation of the Server object property values.

See Also

Reference

Server Class

Alter Overload

Microsoft.SqlServer.Management.Smo Namespace