DatabaseMetaDataValidateCatalogName Method |
Validates the name of the catalog.
Namespace:
SD.LLBLGen.Pro.ApplicationCore.MetaData
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax public bool ValidateCatalogName(
DBCatalog containingCatalog,
string nameToValidate,
bool checkForDuplicates,
out string errorText
)
Public Function ValidateCatalogName (
containingCatalog As DBCatalog,
nameToValidate As String,
checkForDuplicates As Boolean,
<OutAttribute> ByRef errorText As String
) As Boolean
Parameters
- containingCatalog
- Type: SD.LLBLGen.Pro.DBDriverCoreDBCatalog
The containing catalog. can be null if the name is for a new catalog - nameToValidate
- Type: SystemString
The name to validate. - checkForDuplicates
- Type: SystemBoolean
if set to [check for duplicates]. - errorText
- Type: SystemString
The error text.
Return Value
Type:
Boolean
true if the name is a valid catalog name, false otherwise
Remarks If the name already exists, the name is seen as valid
See Also