VistaDB 6
VistaDB.Provider Namespace / VistaDBDataPermission Class / Add Method
A permitted connection string.
String that identifies connection string parameters that are allowed or disallowed.
One of the System.Data.KeyRestrictionBehavior properties.


In This Topic
    Add Method (VistaDBDataPermission)
    In This Topic
    Adds access for the specified connection string to the existing state of the DBDataPermission.
    Syntax
    'Declaration
     
    
    Public Sub Add( _
       ByVal connectionString As System.String, _
       ByVal restrictions As System.String, _
       ByVal behavior As System.Data.KeyRestrictionBehavior _
    ) 
    'Usage
     
    
    Dim instance As VistaDBDataPermission
    Dim connectionString As System.String
    Dim restrictions As System.String
    Dim behavior As System.Data.KeyRestrictionBehavior
     
    instance.Add(connectionString, restrictions, behavior)
    public void Add( 
       System.string connectionString,
       System.string restrictions,
       System.Data.KeyRestrictionBehavior behavior
    )

    Parameters

    connectionString
    A permitted connection string.
    restrictions
    String that identifies connection string parameters that are allowed or disallowed.
    behavior
    One of the System.Data.KeyRestrictionBehavior properties.
    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