Share via


Database.DbStorageLocation Property

Definition

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).

Applies to