SnapshotGenerationAgent.FieldDelimiter Property

Gets or sets the character or character sequence that marks the end of a field in the SQL Server bulk-copy data file.

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

Syntax

'Declaration
Public Property FieldDelimiter As String
public string FieldDelimiter { get; set; }
public:
virtual property String^ FieldDelimiter {
    String^ get () sealed;
    void set (String^ value) sealed;
}
/** @property */
public final String get_FieldDelimiter ()

/** @property */
public final void set_FieldDelimiter (String value)
public final function get FieldDelimiter () : String

public final function set FieldDelimiter (value : String)

Property Value

A String value that represents the field delimiter.

Remarks

When the FieldDelimiter property is set to null or an empty string value, the default delimiter \n<x$3>\n is used.

When setting FieldDelimiter, it is important to choose a delimiter value that will never be included in part of any published data value or else there will be ambiguity as to where data is delimited when the generated bcp file is applied to the Subscriber.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

SnapshotGenerationAgent Class
SnapshotGenerationAgent Members
Microsoft.SqlServer.Replication Namespace