DatabasePermissionCollection.Add 方法

包括受保护的成员
包括继承的成员

Creates and adds a DatabasePermission to the collection.

此成员被重载。有关此成员的完整信息,包括语法、用法和示例,请单击重载列表中的名称。

重载列表

  名称 说明
公共方法 Add(String) Creates and adds a DatabasePermission with the specified identifier to the end of the collection.
公共方法 Add(DatabasePermission) Adds a DatabasePermission to the end of the collection.
受保护方法 Add(ModelComponent) Adds a ModelComponent to the end of the MajorObjectCollection. (从 MajorObjectCollection 继承。)
公共方法 Add(String, String) Creates and adds a DatabasePermission with the specified name and identifier to the end of the collection.
受保护方法 Add(ModelComponent, Boolean) 基础结构。Adds a ModelComponent object to the ModelComponentCollection. (从 ModelComponentCollection 继承。)
公共方法 Add(String, String, String) Creates and adds a DatabasePermission, with the specified role identifier, name, and identifier, to the end of the collection.

页首

请参阅

参考

DatabasePermissionCollection 类

Microsoft.AnalysisServices 命名空间