Database.IsParameterizationForced Database.IsParameterizationForced Database.IsParameterizationForced Property

Definition

Gets or sets a value that specifies whether parameterization is forced on the database.

public:
 property bool IsParameterizationForced { bool get(); void set(bool value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Deploy)]
public bool IsParameterizationForced { get; set; }
Public Property IsParameterizationForced As Boolean
Property Value

A Boolean value that specifies whether parameterization is forced on the database. If True, parameterization is forced. If False (default), parameterization is not forced.

Implements

Remarks

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.

Applies to

See Also