Partager via


DatabaseDeploymentProperties.PrimaryDataFileDirectory Property

Gets or sets the path and name of the operating system file that acts as the primary data file for the database.

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

Syntax

'Déclaration
<DisplayNameKeyAttribute("PrimaryDataFileDirectory")> _
Public Property PrimaryDataFileDirectory As String
    Get
    Set
'Utilisation
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: String
The path and name of the operating system file that acts as the primary data file for the database.

See Also

Reference

DatabaseDeploymentProperties Class

Microsoft.SqlServer.Management.Dac Namespace