Proficy Historian Client Access API
Proficy.Historian.ClientAccess.API Namespace / IData Interface / Comment Method / Comment(String,DateTime,String,String) Method
A tag name.
Time of comment.
Username to record with comment.
Comment text to apply.


In This Topic
    Comment(String,DateTime,String,String) Method
    In This Topic
    Add a text comment record for a tag in a Historian server.
    Syntax
    Overloads Sub Comment( _
       ByVal tagname As System.String, _
       ByVal time As System.Date, _
       ByVal username As System.String, _
       ByVal commentText As System.String _
    ) 
    void Comment( 
       System.string tagname,
       System.DateTime time,
       System.string username,
       System.string commentText
    )
    void Comment( 
       System.String^ tagname,
       System.DateTime time,
       System.String^ username,
       System.String^ commentText
    ) 

    Parameters

    tagname
    A tag name.
    time
    Time of comment.
    username
    Username to record with comment.
    commentText
    Comment text to apply.
    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