This document is archived and information here might be outdated.  Recommended version.


IFieldChecker.ValidateTableName Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IFieldChecker.ValidateTableName Method

Checks the validity of a table name.

[Visual Basic .NET]
Public Function ValidateTableName ( _
    ByVal TableName As String, _
    ByRef fixedName As String _
) As Integer
[C#]
public int ValidateTableName (
    string TableName,
    ref string fixedName
);
[C++]
HRESULT ValidateTableName(
  BSTR TableName,
  BSTR* fixedName,
  long* error
);
[C++]

Parameters TableName [in] TableName is a parameter of type BSTR fixedName [out] fixedName is a parameter of type BSTR error [out, retval] error is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

ValidateTableName verifies that a table name is valid for the target data format, and if needed, returns a compliant table name. This method returns a esriTableNameErrorType indicating the type of error. Table existence is not checked.

See Also

IFieldChecker Interface

.NET Related Topics

Creating tables