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

AttachDBFilename Property
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
 

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