Dela via


FullTextCatalog.RootPath Property

Gets or sets the path to the operating system directory that is used as the primary path for Microsoft Search full-text catalog storage.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property RootPath As String
    Get
    Set
'Usage
Dim instance As FullTextCatalog
Dim value As String

value = instance.RootPath

instance.RootPath = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public string RootPath { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property String^ RootPath {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member RootPath : string with get, set
function get RootPath () : String
function set RootPath (value : String)

Property Value

Type: System.String
A String value that specifies the path to the operating system directory that is used as the primary path for full-text storage.