Partilhar via


ConferenceServices.GenerateNumericPasscode Method

Generates a numeric conference passcode of the given length.

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

Syntax

'Declaration
Public Shared Function GenerateNumericPasscode ( _
    length As Integer _
) As String
'Usage
Dim length As Integer
Dim returnValue As String

returnValue = ConferenceServices.GenerateNumericPasscode(length)
public static string GenerateNumericPasscode(
    int length
)

Parameters

Return Value

Type: System.String
The numeric passcode.

Exceptions

Exception Condition
ArgumentOutOfRangeException

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

See Also

Reference

ConferenceServices Class

ConferenceServices Members

Microsoft.Rtc.Collaboration.ConferenceManagement Namespace