SchemaSeparator Property
Collapse the table of content
Expand the table of content

SqlCommandBuilder.SchemaSeparator Property

 

Gets or sets the character to be used for the separator between the schema identifier and any other identifiers.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

[BrowsableAttribute(false)]
public override string SchemaSeparator { get; set; }

Property Value

Type: System.String

The character to be used as the schema separator.

Generally, database servers indicate the schema for a identifier by separating the schema name from the identifier with some character. For example, SQL Server uses a period, creating complete identifiers such as Person.CustomerName, where "Person" is the schema name and "CustomerName" is the identifier. Setting this property lets developers modify this behavior.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft