DatabaseOptions.IsParameterizationForced 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsParameterizationForced As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As DatabaseOptions 
Dim value As Boolean 

value = instance.IsParameterizationForced

instance.IsParameterizationForced = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsParameterizationForced { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsParameterizationForced {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsParameterizationForced : bool with get, set
function get IsParameterizationForced () : boolean 
function set IsParameterizationForced (value : boolean)

속성 값

유형: System.Boolean
A Boolean value that specifies whether parameterization is forced on the database.If True, parameterization is forced. Otherwise, False (default).

주의

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.

속성 설정

참고 항목

참조

DatabaseOptions 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

강제 매개 변수화

데이터베이스 옵션