Compartir a través de


OleDbProviderSettings.AllowInProcess Propiedad

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

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

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AllowInProcess As Boolean 
    Get 
    Set
'Uso
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)

Valor de la propiedad

Tipo: 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.

Comentarios

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.

Ejemplos

Utilizar servidores vinculados en SMO

Vea también

Referencia

OleDbProviderSettings Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo