共用方式為


Policy Class

Definition

Represents groups and users and their roles, which are associated with items in a report server database or SharePoint library.

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
Inheritance
Policy
Attributes

Remarks

A Policy object is returned as output by the GetPolicies method and is passed as input to the SetPolicies method.

Constructors

Policy()

Initializes a new instance of the Policy class.

Properties

GroupUserName

Gets or sets the name of a group or user.

Roles

Gets or sets the roles associated with the group or user.

Applies to