CellPermissionCollection.Add 方法 (CellPermissionAccess)
Creates and adds a CellPermission, with the specified CellPermissionAccess value, to the end of the collection.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Function Add ( _
access As CellPermissionAccess _
) As CellPermission
用法
Dim instance As CellPermissionCollection
Dim access As CellPermissionAccess
Dim returnValue As CellPermission
returnValue = instance.Add(access)
public CellPermission Add(
CellPermissionAccess access
)
public:
CellPermission^ Add(
CellPermissionAccess access
)
member Add :
access:CellPermissionAccess -> CellPermission
public function Add(
access : CellPermissionAccess
) : CellPermission
参数
- access
类型:Microsoft.AnalysisServices.CellPermissionAccess
The CellPermissionAccess value of the CellPermission to be added.
返回值
类型:Microsoft.AnalysisServices.CellPermission
A new CellPermission with the specified CellPermissionAccess value.