NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PermissionSet.Count

Gets the number of permission objects contained in the permission set.

[Visual Basic]
Overridable Public ReadOnly Property Count As Integer
[C#]
public int Count {virtual get;}
[C++]
public: __property virtual int get_Count();
[JScript]
public function get Count() : int;

Property Value

Number of contained permission objects.

Remarks

In restricted or unrestricted state (as constructed by the PermissionState constructor) this returns zero because no actual permission object instances are used.

See Also

PermissionSet Class | PermissionSet Members | System.Security Namespace