dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlConnectionStringBuilder Class / AttachDBFilename Property

In This Topic
    AttachDBFilename Property
    In This Topic
    Gets or sets a string that contains the name of the primary file. This includes the full path name of an attachable database.
    Syntax
    'Declaration
     
    Public Property AttachDBFilename As String
    public string AttachDBFilename {get; set;}

    Property Value

    The name of the primary file.
    Remarks
    This property corresponds to the "AttachDBFilename", "extended properties", and "initial file name" keys within the connection string.
    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