Generates a numeric conference passcode of the given length.

Namespace:  Microsoft.Rtc.Collaboration.ConferenceManagement
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Shared 
Function 
GenerateNumericPasscode ( _
	
length 
As 
Integer _
) 
As 
String
C#
public 
static 
string 
GenerateNumericPasscode(
	
int 
length
)
Visual C++
public:
static 
String^ 
GenerateNumericPasscode(
	
int 
length
)
JavaScript

Microsoft.Rtc.Collaboration.ConferenceManagement.ConferenceServices.
generateNumericPasscode = 
function(
length);

Parameters

length
Type: Int32
The length.

Return Value

The numeric passcode.

Exceptions

Exception Condition
ArgumentOutOfRangeException Thrown when the length requested is not between 3 and 10 digits, inclusive.

See Also