Метод CubePermissionCollection.Add (String)
Creates and adds a CubePermission, with the specified identifier, to the end of the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function Add ( _
roleId As String _
) As CubePermission
'Применение
Dim instance As CubePermissionCollection
Dim roleId As String
Dim returnValue As CubePermission
returnValue = instance.Add(roleId)
public CubePermission Add(
string roleId
)
public:
CubePermission^ Add(
String^ roleId
)
member Add :
roleId:string -> CubePermission
public function Add(
roleId : String
) : CubePermission
Параметры
- roleId
Тип: System.String
The identifier of the CubePermission to be added.
Возвращаемое значение
Тип: Microsoft.AnalysisServices.CubePermission
The zero-based index at which the CubePermission has been added.