Поделиться через


Метод Synonym.Grant

Показывать защищенные элементы
Показывать наследуемые элементы

Grants the specified set of permissions to the specified grantees on the synonym.

Этот элемент перегружен. Чтобы получить полные сведения об этом элементе (синтаксисе, использовании и примерах использования), щелкните его имя в списке перегрузок.

Список перегрузок

  Имя Описание
Открытый метод Grant(ObjectPermissionSet, String) Grants the specified set of permissions to the specified grantee on the synonym.
Открытый метод Grant(ObjectPermissionSet, array<String[]) Grants the specified set of permissions to the specified grantees on the synonym.
Открытый метод Grant(ObjectPermissionSet, String, Boolean) Grants access to the specified permission to the grantee and the ability to grant access to other users on the synonym.
Открытый метод Grant(ObjectPermissionSet, array<String[], Boolean) Grants access to the specified permission to the grantees and the ability to grant access to other users on the synonym.
Открытый метод Grant(ObjectPermissionSet, String, Boolean, String) Grants the specified set of permissions to the grantee and the ability to grant the set of permissions to other users on the synonym under an assumed role.
Открытый метод Grant(ObjectPermissionSet, array<String[], Boolean, String) Grants the specified set of permissions to the grantees and the ability to grant the set of permissions to other users on the synonym under an assumed role.

В начало

См. также

Справочник

Synonym Класс

Пространство имен Microsoft.SqlServer.Management.Smo