Creates a table name object from the given catalog path.
[Visual Basic 6.0] Function CreateTableName(
ByVal catalogPath As String _
) As IName
[Visual Basic .NET] Public Function CreateTableName ( _ ByVal catalogPath As String _ ) As IName
[C#] public IName CreateTableName ( string catalogPath );
[Java] public IName createTableName ( String catalogPath ) throws IOException, AutomationException
[C++] HRESULT CreateTableName( BSTR catalogPath, IName** ppName );
Parameters
catalogPath [in]
catalogPath is a parameter of type BSTR
ppName [out, retval]
ppName is a parameter of type IName
The CreateTableName method takes in an ArcCatalog path string of a table and returns a Name object [IName].
See the included code sample below.
The following code sample shows how to create a table name from the GPUtilites object.
'Create the GPUtilities object
Dim pGPUtils as IGPUtilities
Set pGPUtils = New GPUtilities
'Create the IDataset object
Dim pDataset as IDataset
Set pDataset = pGPUtils.CreateTableName("D:\workspace\test.mdb\crimefreq")