Quotes a name for being used as a schemaname

Namespace:  NHibernate.Dialect
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Overridable Function QuoteForSchemaName ( _
	schemaName As String _
) As String
C#
public virtual string QuoteForSchemaName(
	string schemaName
)
Visual C++
public:
virtual String^ QuoteForSchemaName(
	String^ schemaName
)
JavaScript
function quoteForSchemaName(schemaName);

Parameters

schemaName
Type: System..::.String
Name of the schema

Return Value

A Quoted name in the format of OpenQuote + schemaName + CloseQuote

Remarks

If the schemaName is already enclosed in the OpenQuote and CloseQuote then this method will return the schemaName that was passed in without going through any Quoting process. So if schemaName is passed in already Quoted make sure that you have escaped all of the chars according to your DataBase's specifications.

See Also