Active Query Builder 2 .NET Edition reference
GetSchemaNames Method



Determines the current database connection and SQL syntax.
Defines the server and database name to retrieve the list of schemas for. Example: "server.database" or "database".
Gets list of schema names available within the current connection.
Syntax
'Declaration
 
Public Shared Function GetSchemaNames( _
   ByVal sqlContext As BaseSQLContext, _
   ByVal parentName As System.String _
) As System.Collections.Generic.IList(Of String)
'Usage
 
Dim sqlContext As BaseSQLContext
Dim parentName As System.String
Dim value As System.Collections.Generic.IList(Of String)
 
value = MetadataNamesFetcher.GetSchemaNames(sqlContext, parentName)
public static System.Collections.Generic.IList<string> GetSchemaNames( 
   BaseSQLContext sqlContext,
   System.string parentName
)
public: static System.Collections.Generic.IList<string*>* GetSchemaNames( 
   BaseSQLContext* sqlContext,
   System.string* parentName
) 

Parameters

sqlContext
Determines the current database connection and SQL syntax.
parentName
Defines the server and database name to retrieve the list of schemas for. Example: "server.database" or "database".
See Also

Reference

MetadataNamesFetcher Class
MetadataNamesFetcher Members

 

 


© Copyright 2005-2012 ActiveDBSoft. All rights reserved.

Send Feedback