This documentation is archived and is not being maintained.

SiteMembershipCondition.Site Property

Gets or sets the site for which the membership condition tests.

[Visual Basic]
Public Property Site As String
[C#]
public string Site {get; set;}
[C++]
public: __property String* get_Site();
public: __property void set_Site(String*);
[JScript]
public function get Site() : String;
public function set Site(String);

Property Value

The site for which the membership condition tests.

Exceptions

Exception Type Condition
ArgumentNullException An attempt is made to set Site to a null reference (Nothing in Visual Basic).
ArgumentException An attempt is made to set Site to an invalid Site.

Remarks

This property is matched against the site from which a code assembly originates to test the membership condition.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SiteMembershipCondition Class | SiteMembershipCondition Members | System.Security.Policy Namespace

Show: