共用方式為


DatabasePermission Element (ASSL)

Defines the default permissions in a Database element for a specific Role element.

語法

<DatabasePermissions>
      <DatabasePermission xsi:type="Permission">
      <!-- The following elements extend Permission -->
      <Administer>...</Administer>
...</DatabasePermission>
</DatabasePermissions>

Element Characteristics

Characteristic Description

Data type and length

Permission

Default value

None

Cardinality

0-n: Optional element that can occur more than once.

Element Relationships

Relationship Element

Parent elements

DatabasePermissions

Child elements

Administer

備註

DatabasePermission objects can exist only for roles owned by the database, and only one DatabasePermission object can exist for any role.

The corresponding element in the Analysis Management Objects (AMO) object model is DatabasePermission.

請參閱

參考

Role Element (ASSL)
Objects (ASSL)

說明及資訊

取得 SQL Server 2005 協助