Share via


DatabaseDeploymentProperties.PrimaryDataFileDirectory Property

Gets or sets the name of folder for the primary data file.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
<DisplayNameKeyAttribute("PrimaryDataFileDirectory")> _
Public Property PrimaryDataFileDirectory As String
    Get
    Set
'Usage
Dim instance As DatabaseDeploymentProperties
Dim value As String

value = instance.PrimaryDataFileDirectory

instance.PrimaryDataFileDirectory = value
[DisplayNameKeyAttribute("PrimaryDataFileDirectory")]
public string PrimaryDataFileDirectory { get; set; }
[DisplayNameKeyAttribute(L"PrimaryDataFileDirectory")]
public:
property String^ PrimaryDataFileDirectory {
    String^ get ();
    void set (String^ value);
}
[<DisplayNameKeyAttribute("PrimaryDataFileDirectory")>]
member PrimaryDataFileDirectory : string with get, set
function get PrimaryDataFileDirectory () : String
function set PrimaryDataFileDirectory (value : String)

Property Value

Type: System.String
A String value that specifies the name of folder for the primary data file.