DatabaseOptions.IsParameterizationForced Property
Gets or sets a Boolean property value that specifies whether parameterization is forced on the database or not.
Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntaxe
'Déclaration
Public Property IsParameterizationForced As Boolean
public bool IsParameterizationForced { get; set; }
public:
property bool IsParameterizationForced {
bool get ();
void set (bool value);
}
/** @property */
public boolean get_IsParameterizationForced ()
/** @property */
public void set_IsParameterizationForced (boolean value)
public function get IsParameterizationForced () : boolean
public function set IsParameterizationForced (value : boolean)
Valeur de propriété
A Boolean value that specifies whether parameterization is forced on the database or not. If True, parameterization is forced. If False (default), parameterization is not forced.
Notes
Texte mis à jour :
When the IsParameterizationForced property is True, any literal value that appears that appears in a SELECT, INSERT, UPDATE, or DELETE statement is converted to a parameter during query compilation.
Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.
Exemple
How to: Get and Set a Property in Visual Basic .NET
Sécurité des threads
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
DatabaseOptions Class
DatabaseOptions Members
Microsoft.SqlServer.Management.Smo Namespace
Autres ressources
Paramétrage forcé
Setting Properties
Options de base de données