DatabaseOptions.IsParameterizationForced Property
Applies To: SQL Server 2016 Preview
Gets or sets a Boolean property value that specifies whether parameterization is forced on the database.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)]
public bool IsParameterizationForced { get; set; }
public:
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::Matrix)]
property bool IsParameterizationForced {
bool get();
void set(bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)>]
member IsParameterizationForced : bool with get, set
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Matrix)>
Public Property IsParameterizationForced As Boolean
Property Value
Type: System.Boolean
A Boolean value that specifies whether parameterization is forced on the database.
If True, parameterization is forced. Otherwise, False (default).
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.
Examples
Legacy Code Example
See Also
DatabaseOptions Class
Microsoft.SqlServer.Management.Smo Namespace
Unable to find linked topic '3a25208a-8d0c-4689-8af2-a681a0a7737b'.Unable to find linked topic '068282b7-c419-4e2c-990a-1f8b7c12762f'.
Return to top