SiteMembershipCondition(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SiteMembershipCondition class with name of the site that determines membership.
public:
SiteMembershipCondition(System::String ^ site);
public SiteMembershipCondition (string site);
new System.Security.Policy.SiteMembershipCondition : string -> System.Security.Policy.SiteMembershipCondition
Public Sub New (site As String)
Parameters
- site
- String
The site name or wildcard expression.
Exceptions
The site
parameter is null
.
The site
parameter is not a valid Site.
Remarks
Code satisfies this membership condition if it is downloaded from a site whose DNS name matches the site specified by Site.