This function returns the extracts loaded on the basis of the selected filter.
object.LoadExtracts(
[pFilter])
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
|
pFilter |
In, Optional | The object that defines conditions for filtering
|
Display the number of the extracts loaded on the basis of the selected filter, their types and the text presentation.
Dim pFilter
Dim aExtracts
Dim aExtract
Dim aMessage
set pFilter = Profile.CreateExtractsFilter
pFilter.ForProvider = "ADMIN"
set aExtracts = Profile.LoadExtracts(pFilter)
aMessage = "Extracts Count = " & aExtracts.Count
for i = 0 to aExtracts.Count - 1
set aExtract = aExtracts.Item(i)
aMessage = aMessage & vbNewLine & aExtract.ExtractType & " " & aExtract.Line
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Extracts cannot be found.