Proficy Historian Client Access API
Proficy.Historian.ClientAccess.API Namespace / IServer Interface / GetOption Method
An option identifier.
Name of the data store whose options are requested.



In This Topic
    GetOption Method
    In This Topic
    Retrieve a data store specific option value from a Historian server as a string.
    Syntax
    'Declaration
     
    Function GetOption( _
       ByVal option As HistorianOption, _
       Optional ByVal datastore As String _
    ) As String
    'Usage
     
    Dim instance As IServer
    Dim option As HistorianOption
    Dim datastore As String
    Dim value As String
     
    value = instance.GetOption(option, datastore)
    string GetOption( 
       HistorianOption option,
       string datastore
    )
    String^ GetOption( 
       HistorianOption option,
       String^ datastore
    ) 

    Parameters

    option
    An option identifier.
    datastore
    Name of the data store whose options are requested.

    Return Value

    A string representation of the option value.
    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