編輯

共用方式為


OleDbSchemaGuid.Usage_Privileges Field

Definition

Returns the USAGE privileges on objects defined in the catalog that are available to or granted by a given user.

public: static initonly Guid Usage_Privileges;
public static readonly Guid Usage_Privileges;
 staticval mutable Usage_Privileges : Guid
Public Shared ReadOnly Usage_Privileges As Guid 

Field Value

Remarks

Usage_Privileges maps to the OLE DB USAGE_PRIVILEGES rowset. Unless otherwise specified, restriction columns are returned in the following order.

Restriction column CLR data type Description
OBJECT_CATALOG string Catalog name in which the object is defined. A null value if the provider does not support catalogs.
OBJECT_SCHEMA string Unqualified schema name in which the object is defined. A null value if the provider does not support schemas.
OBJECT_NAME string Object name.
OBJECT_TYPE string Object type. One of the following: DOMAIN, CHARACTER SET, COLLATION, or TRANSLATION.
GRANTOR string User that granted the privileges on the object in OBJECT_NAME.
GRANTEE string User name (or "PUBLIC") that the privilege has been granted to.

Applies to