Database.DbStorageLocation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the database storage location.
public string DbStorageLocation { get; set; }
member this.DbStorageLocation : string with get, set
Public Property DbStorageLocation As String
Property Value
Remarks
The DbStorageLocation property is read-only in online mode (because the best practice for changing the storage location of a database is with Detach-Attach). But in offline project mode (in BI Dev Studio), we allow setting it and we dynamically add the TypeConverter and Editor attributes in DatabaseDesigner.PreFilterProperties(...) method (see the "Design\DatabaseDesigner.cs" file).