Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Policy Class

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


Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

<SerializableAttribute> _
Public Class Policy
Dim instance As Policy

The Policy type exposes the following members.

Public methodPolicyInitializes a new instance of the Policy class.

Public propertyGroupUserNameGets or sets the name of a group or user.
Public propertyRolesGets or sets the roles associated with the group or user.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft