語言

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方法。

建構函式

名稱 Description
Policy()

初始化 Policy 類別的新執行個體。

屬性

名稱 Description
GroupUserName

取得或設定群組或使用者的名稱。

Roles

取得或設定與群組或使用者相關的角色。

適用於