IPPermission.Check Method
When overridden in a derived class, the Check method determines whether the specified IP address is on the Allow list, the Deny list, or neither list.
Namespace: Microsoft.Exchange.Data.Transport
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public MustOverride Function Check ( _
ipAddress As IPAddress _
) As PermissionCheckResults
'Usage
Dim instance As IPPermission
Dim ipAddress As IPAddress
Dim returnValue As PermissionCheckResults
returnValue = instance.Check(ipAddress)
public abstract PermissionCheckResults Check(
IPAddress ipAddress
)
Parameters
- ipAddress
Type: System.Net.IPAddress
The IP address to check.
Return Value
Type: Microsoft.Exchange.Data.Transport.PermissionCheckResults
The Check method returns one of the valid PermissionCheckResults enumeration values.
See Also