Proficy Historian Client Access API
Proficy.Historian.ClientAccess.API Namespace / ICollectors Interface / SetStatistics Method
A collector name.
Set of collector statistics.



In This Topic
    SetStatistics Method
    In This Topic
    Apply statistics for a collector in a Historian server.
    Syntax
    'Declaration
     
    Sub SetStatistics( _
       ByVal collectorname As String, _
       ByVal stats As CollectorStatistics _
    ) 
    'Usage
     
    Dim instance As ICollectors
    Dim collectorname As String
    Dim stats As CollectorStatistics
     
    instance.SetStatistics(collectorname, stats)
    void SetStatistics( 
       string collectorname,
       CollectorStatistics stats
    )
    void SetStatistics( 
       String^ collectorname,
       CollectorStatistics^ stats
    ) 

    Parameters

    collectorname
    A collector name.
    stats
    Set of collector statistics.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also