Click or drag to resize

DatabaseMetaData.ValidateSchemaName Method

Validates the name of the schema.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.MetaData
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.9.0.0 (5.9.0)
Syntax
public bool ValidateSchemaName(
	DBDriverBase driverToUse,
	string catalogName,
	DBSchema containingSchema,
	string nameToValidate,
	bool checkForDuplicates,
	out string errorText
)

Parameters

driverToUse
Type: SD.LLBLGen.Pro.DBDriverCore.DBDriverBase
The driver to use.
catalogName
Type: System.String
Name of the catalog. Ignored if containingSchema isn't null
containingSchema
Type: SD.LLBLGen.Pro.DBDriverCore.DBSchema
The containing schema. Can be null if the name is for a new schema. If not null, catalogName is ignored
nameToValidate
Type: System.String
The name to validate.
checkForDuplicates
Type: System.Boolean
if set to true [check for duplicates].
errorText
Type: System.String
The error text.

Return Value

Type: Boolean
true if the name is a valid schema name, false otherwise
Remarks
If the name already exists, the name is seen as valid
See Also