ScriptingOptions.AnsiFile 속성
Gets or sets the Boolean property that specifies whether the script uses multibyte characters and requires code page 1252 to evaluate characters' meaning.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Property AnsiFile As Boolean
Get
Set
‘사용 방법
Dim instance As ScriptingOptions
Dim value As Boolean
value = instance.AnsiFile
instance.AnsiFile = value
public bool AnsiFile { get; set; }
public:
property bool AnsiFile {
bool get ();
void set (bool value);
}
member AnsiFile : bool with get, set
function get AnsiFile () : boolean
function set AnsiFile (value : boolean)
속성 값
유형: System.Boolean
A Boolean value that specifies whether code page 1252 is used to evaluate characters.If True, code page 1252 is used to evaluate characters.If False (default), code page 1252 is not used to evaluate characters. The code page is determined by the operating system.
예
The following code example specifies that the script uses multi-byte characters.
Visual Basic
Dim scOps As New ScriptingOptions()
scOps.AnsiFile = true
PowerShell
$scOps = New-Object Microsoft.SqlServer.Management.Smo.ScriptingOptions
$scOps.AnsiFile = $TRUE
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스