Compartir a través de


IsParameterizationForced Propiedad

Obtiene o establece un valor de propiedad que especifica si se fuerza la parametrización en la base de datos.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Deploy)> _
Public Property IsParameterizationForced As Boolean
    Get
    Set
'Uso
Dim instance As Database
Dim value As Boolean

value = instance.IsParameterizationForced

instance.IsParameterizationForced = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)]
public bool IsParameterizationForced { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Deploy)]
public:
virtual property bool IsParameterizationForced {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)>]
abstract IsParameterizationForced : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)>]
override IsParameterizationForced : bool with get, set
final function get IsParameterizationForced () : boolean
final function set IsParameterizationForced (value : boolean)

Valor de la propiedad

Tipo: System. . :: . .Boolean
Valor Boolean que especifica si se fuerza la parametrización en la base de datos. Si es True, se fuerza la parametrización. Si es False (valor predeterminado), no se fuerza la parametrización.

Implementa

IDatabaseOptions. . :: . .IsParameterizationForced

Comentarios

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.