다음을 통해 공유


OleDbProviderSettings.AllowInProcess 속성

Gets or sets the Boolean property value that specifies whether the OLE DB provider is instantiated as an in-process server.

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

구문

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

value = instance.AllowInProcess

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

속성 값

유형: System.Boolean
A Boolean value that specifies whether the OLE DB provider is instantiated as an in-process server.If True, the OLE DB provider is instantiated as an in-process server.If False (default), the OLE DB provider is instantiated as an external process.

주의

Instantiating the provider outside the SQL Server process protects the SQL Server process from errors in the provider. When the provider is instantiated outside the SQL Server process, updates or inserts referencing long columns (text, ntext, or image) are not allowed.

SMO에서 연결된 서버 사용

참고 항목

참조

OleDbProviderSettings 클래스

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