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
    'Declaration
     
    Overloads Sub Comment( _
       ByVal tagname As String, _
       ByVal time As Date, _
       ByVal username As String, _
       ByVal commentText As String _
    ) 
    'Usage
     
    Dim instance As IData
    Dim tagname As String
    Dim time As Date
    Dim username As String
    Dim commentText As String
     
    instance.Comment(tagname, time, username, commentText)
    void Comment( 
       string tagname,
       DateTime time,
       string username,
       string commentText
    )
    void Comment( 
       String^ tagname,
       DateTime time,
       String^ username,
       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