IDatabaseMetaData.GetTablePrivileges(String, String, String) IDatabaseMetaData.GetTablePrivileges(String, String, String) Method

Definition

Returns a description of access rights for each table present in a catalog.

[Android.Runtime.Register("getTablePrivileges", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/ResultSet;", "GetGetTablePrivileges_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.IResultSet GetTablePrivileges (string catalog, string schemaPattern, string tableNamePattern);
abstract member GetTablePrivileges : string * string * string -> Java.Sql.IResultSet

Parameters

catalog
String String

a catalog name. null is used to imply no narrowing of the search by catalog name. Otherwise, the name must match a catalog name held in the database, with "" used to retrieve those without a catalog name.

schemaPattern
String String

a schema name pattern. null is used to imply no narrowing of the search by schema name. Otherwise, the name must match a schema name in the database, with "" used to retrieve those without a schema name.

tableNamePattern
String String

a Table Name, which should match the table name as stored in the database.

Returns

Exceptions

a database error occurred.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to