ClientKeySet.AddRegionMembership(Int32, Int32) Method

Definition

Adds a region to which the client (the license is issued to) belongs. A client can belong to only one region in a specifc region set; a client can belong to regions in different region sets.

public void AddRegionMembership(int regionSetId, int regionNumber);
member this.AddRegionMembership : int * int -> unit
Public Sub AddRegionMembership (regionSetId As Integer, regionNumber As Integer)

Parameters

regionSetId
Int32

The region set identifier.

regionNumber
Int32

The region to add to membership.

Exceptions

Thrown if regionNumber is less than zero or greater than MaxValue.

Thrown if regionNumber is greater than or equal to the the number of regions in the region set indicated by regionSetId.

Applies to