ISProviders.Count

Description

The number of the providers within the collection.

Syntax

object.Count

Part Attribute Type Description
object Required
The object always implements the ISProviders interface
Restriction: This property is readonly.

Return Value

int

Example

Display the number of the providers within the collection and their full names.

Dim aFilter 
Dim aProviders
Dim aProvider
Dim aMessage

Set aFilter = Profile.CreateProvidersFilter

aFilter.Category = 2 'pcProvider  

set aProviders = Profile.LoadProvidersByFilter(aFilter)
aMessage = aMessage & vbNewLine &_
  "The number of the providers with the category '" & aFilter.Category & "' is " &_
  aProviders.Count

for each aProvider in aProviders 
  aMessage = aMessage & vbNewLine &_
    "The provider's full name is " & aProvider.FullName
next

Profile.MsgBox (aMessage)   
Note:

In Profile Client v8 on User Interface Providers can be found in Organisation > People & Places.

Version information

Added in v7.8.0