VistaDB 6
VistaDB.Provider Namespace / VistaDBConnectionStringBuilder Class / Add Method
The key to add to the System.Data.Common.DbConnectionStringBuilder.
The value for the specified key.


In This Topic
    Add Method (VistaDBConnectionStringBuilder)
    In This Topic
    Adds an entry with the specified key and value into the System.Data.Common.DbConnectionStringBuilder.
    Syntax
    'Declaration
     
    
    Public Sub Add( _
       ByVal keyword As System.String, _
       ByVal value As System.Object _
    ) 
    'Usage
     
    
    Dim instance As VistaDBConnectionStringBuilder
    Dim keyword As System.String
    Dim value As System.Object
     
    instance.Add(keyword, value)
    public void Add( 
       System.string keyword,
       System.object value
    )

    Parameters

    keyword
    The key to add to the System.Data.Common.DbConnectionStringBuilder.
    value
    The value for the specified key.
    Exceptions
    ExceptionDescription
    keyword is a null reference (Nothing in Visual Basic).
    The System.Data.Common.DbConnectionStringBuilder is read-only. -or- The System.Data.Common.DbConnectionStringBuilder has a fixed size.
    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