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.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.