SiteMembershipCondition.Site Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

Public Property Site As String

Property Value

Type: System.String

The site for which the membership condition tests.

Exception Condition
ArgumentNullException

An attempt is made to set Site to null.

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.

.NET Framework
Available since 1.1
Return to top
Show: