Determines whether the current permission instance is a subset of the specified permission instance.
- target
- The second System.Net.DnsPermission instance to be tested for the subset relationship.
false if the current instance is unrestricted and target is either null or unrestricted; otherwise, true.
The current System.Net.DnsPermission instance is a subset of the specified System.Net.DnsPermission instance if the current System.Net.DnsPermission instance specifies a set of operations that is wholly contained by the specified System.Net.DnsPermission instance.
If the DnsPermission.IsSubsetOf(System.Security.IPermission) method returns true, the current System.Net.DnsPermission instance allows no more access to DNS servers than does the specified System.Net.DnsPermission instance.