Partager via


Méthode ConfigurationBase.Alter (Boolean)

Updates the Configuration object property changes on the instance of SQL Server. 

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub Alter ( _
    overrideValueChecking As Boolean _
)
'Utilisation
Dim instance As ConfigurationBase 
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
)

Paramètres

Notes

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

Exemples

Configuration de SQL Server dans SMO

Voir aussi

Référence

ConfigurationBase Classe

Surcharge Alter

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Options de configuration de serveur

sp_configure (Transact-SQL)