共用方式為


FullTextCatalog.RootPath 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property RootPath As String 
    Get 
    Set
'用途
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)

屬性值

型別: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.

範例

實作全文檢索搜尋

請參閱

參考

FullTextCatalog 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

全文檢索搜尋概觀

CREATE FULLTEXT CATALOG (Transact-SQL)