Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IDatabaseOptions.PrimaryFilePath Property

Gets the primary database file path.

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

[DisplayNameKeyAttribute("Database_PrimaryFilePathName")]
[DisplayDescriptionKeyAttribute("Database_PrimaryFilePathDesc")]
string PrimaryFilePath { get; }

Property Value

Type: String
A String value containing the primary file path.

Community Additions

Show:
© 2015 Microsoft