SiteMembershipCondition.Site Property

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

Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)

public string Site { get; set; }
/** @property */
public String get_Site ()

/** @property */
public void set_Site (String value)

public function get Site () : String

public function set Site (value : String)

Property Value

The site for which the membership condition tests.

Exception typeCondition

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.

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

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0
Show: