TenantGetNextAvailableDN(String, Int32) Method

returns unique dnName for the new object which begins with specified prefix.

Definition

Namespace: TCX.Configuration
Assembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
C#
string GetNextAvailableDN(
	string prefix,
	int length
)

Parameters

prefix  String
Prefix of the resulting string
length  Int32
Length of resulting string. Prefix will be appended with corresponding number of digits.

Return Value

String

Exceptions

ArgumentOutOfRangeExceptionThrown when prefix is null or has length greater then required

See Also