Bagikan melalui


Policy Class

Represents groups and users and their roles, which are associated with items in the report server database.

Inheritance Hierarchy

System.Object
  ReportService2005.Policy

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class Policy
'Usage
Dim instance As Policy
[SerializableAttribute]
public class Policy
[SerializableAttribute]
public ref class Policy
[<SerializableAttribute>]
type Policy =  class end
public class Policy

The Policy type exposes the following members.

Constructors

  Name Description
Public method Policy Initializes a new instance of the Policy class.

Top

Properties

  Name Description
Public property GroupUserName The name of a group or user.
Public property Roles The roles that are associated with a group or user.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference