CubeAdmin.SetOlapDatabaseEnabled 方法

启用或禁用指定多维数据集数据库基于的唯一标识符。

命名空间:  WebSvcCubeAdmin
程序集:  ProjectServerServices(位于 ProjectServerServices.dll 中)

语法

声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/CubeAdmin/SetOlapDatabaseEnabled", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/CubeAdmin/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/CubeAdmin/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub SetOlapDatabaseEnabled ( _
    olapDatabaseGuid As Guid, _
    isEnabled As Boolean _
)
用法
Dim instance As CubeAdmin
Dim olapDatabaseGuid As Guid
Dim isEnabled As Boolean

instance.SetOlapDatabaseEnabled(olapDatabaseGuid, _
    isEnabled)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/CubeAdmin/SetOlapDatabaseEnabled", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/CubeAdmin/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/CubeAdmin/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void SetOlapDatabaseEnabled(
    Guid olapDatabaseGuid,
    bool isEnabled
)

参数

备注

Project Server 权限

权限

说明

ManageCubeBuildingService

允许用户管理 OLAP 多维数据集创建的设置。全局权限。

ManageSiteServices

允许用户管理服务 (如 Active Directory 设置和数据库超时。全局权限。

另请参阅

引用

CubeAdmin 类

CubeAdmin 成员

WebSvcCubeAdmin 命名空间