语言

Policy 类

定义

表示组和用户及其角色,这些角色与报表服务器数据库或 SharePoint 库 中的项目相关联。

public ref class Policy
[System.CodeDom.Compiler.GeneratedCode("wsdl", "2.0.50727.3038")]
[System.ComponentModel.DesignerCategory("code")]
[System.Diagnostics.DebuggerStepThrough]
[System.Xml.Serialization.XmlType(Namespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer")]
[System.Serializable]
public class Policy
[<System.CodeDom.Compiler.GeneratedCode("wsdl", "2.0.50727.3038")>]
[<System.ComponentModel.DesignerCategory("code")>]
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Xml.Serialization.XmlType(Namespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer")>]
[<System.Serializable>]
type Policy = class
Public Class Policy
继承
Policy
属性

注解

方法返回一个 Policy 对象作为输出 GetPolicies ,并作为输入传递给 SetPolicies 方法。

构造函数

名称 说明
Policy()

初始化 Policy 类的新实例。

属性

名称 说明
GroupUserName

获取或设置某个组或用户的名称。

Roles

获取或设置与组或用户关联的角色。

适用于