다음을 통해 공유


TransSynchronizationAgent.UseInProcLoader Property

Gets or sets whether to use the BULK INSERT command when applying snapshot files at the Subscriber.

네임스페이스: Microsoft.SqlServer.Replication
어셈블리: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

구문

‘선언
Public Overridable Property UseInProcLoader As Boolean
public virtual bool UseInProcLoader { get; set; }
public:
virtual property bool UseInProcLoader {
    bool get ();
    void set (bool newValue);
}
/** @property */
public boolean get_UseInProcLoader ()

/** @property */
public void set_UseInProcLoader (boolean newValue)
public function get UseInProcLoader () : boolean

public function set UseInProcLoader (newValue : boolean)

속성 값

A Boolean value.

주의

Setting UseInProcLoader to true means that the Distribution Agent will use the BULK INSERT command when applying the initial snapshot at the Subscriber. This improves the performance of the initial snapshot.

The UseInProcLoader property is deprecated because it is not compatible with the xml data type. If you are not replicating XML data, this property can be used.

The UseInProcLoader property cannot be used with character mode snapshots or non-SQL Server Subscribers.

If you use The UseInProcLoader property, the SQL Server service account at the Subscriber must have read permissions on the directory where the snapshot .bcp data files are located. When The UseInProcLoader property is not used, the agent (for non-SQL Server Subscribers) or the ODBC driver loaded by the agent (for SQL Server Subscribers) reads from the files; therefore, the security context of the SQL Server service account is not used.

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

TransSynchronizationAgent Class
TransSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace