Partager via


GetNumberOfUsersOnline Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets the number of users currently accessing the application. The UpmMembershipProvider does not support this method.

Namespace:  Microsoft.CommerceServer.Runtime.Profiles
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Overrides Function GetNumberOfUsersOnline As Integer
'Usage
Dim instance As UpmMembershipProvider
Dim returnValue As Integer

returnValue = instance.GetNumberOfUsersOnline()
public override int GetNumberOfUsersOnline()
public:
virtual int GetNumberOfUsersOnline() override
public override function GetNumberOfUsersOnline() : int

Return Value

Type: System..::.Int32
A NotSupportedException in all cases.

Remarks

Throws a NotSupportedException in all cases. Not supported by UpmMembershipProvider.

Permissions

See Also

Reference

UpmMembershipProvider Class

UpmMembershipProvider Members

Microsoft.CommerceServer.Runtime.Profiles Namespace