VistaDB 6
VistaDB.Provider Namespace / VistaDBConnectionStringBuilder Class / DataSource Property


In This Topic
    DataSource Property (VistaDBConnectionStringBuilder)
    In This Topic
    The name and file location of the database to open. May include the |DataDirectory| macro to indicate local working path.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DisplayNameAttribute("Data Source")>
    <System.ComponentModel.DescriptionAttribute("The name and file location of the database to open.")>
    <System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>
    <System.ComponentModel.EditorAttribute("System.Windows.Forms.Design.FileNameEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
    Public Property DataSource As System.String
    'Usage
     
    
    Dim instance As VistaDBConnectionStringBuilder
    Dim value As System.String
     
    instance.DataSource = value
     
    value = instance.DataSource
    [System.ComponentModel.DisplayName("Data Source")]
    [System.ComponentModel.Description("The name and file location of the database to open.")]
    [System.ComponentModel.RefreshProperties(RefreshProperties.All)]
    [System.ComponentModel.Editor("System.Windows.Forms.Design.FileNameEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    public System.string DataSource {get; set;}
    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