GetNetworkAccess
Returns the specified network access right.
Syntax
INetworkAccess GetNetworkAccess (string name)
Parameter
Specify the following parameter when using this method:
Parameter | Description |
name |
The name of the access right. |
Return value
The network access right with the specified name.
Exceptions
GetNetworkAccess may throw one of the following exceptions:
- ArgumentException if the parameter value is null or empty.
- ApplicationException if cannot find authorization for the zone, or if it failed to get the network access right (see the message returned by the exception for the reason).
Example
For an example of the use of the GetNetworkAccess method, see CreateNetworkAccess.