共用方式為


ScriptingOptions.IncludeFullTextCatalogRootPath 屬性

Gets or sets a value that indicates whether the full text catalog root path is included.

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

語法

'宣告
Public Property IncludeFullTextCatalogRootPath As Boolean 
    Get 
    Set
'用途
Dim instance As ScriptingOptions 
Dim value As Boolean 

value = instance.IncludeFullTextCatalogRootPath

instance.IncludeFullTextCatalogRootPath = value
public bool IncludeFullTextCatalogRootPath { get; set; }
public:
property bool IncludeFullTextCatalogRootPath {
    bool get ();
    void set (bool value);
}
member IncludeFullTextCatalogRootPath : bool with get, set
function get IncludeFullTextCatalogRootPath () : boolean 
function set IncludeFullTextCatalogRootPath (value : boolean)

屬性值

型別:System.Boolean
True if the full text catalog root path is included; otherwise, false.

範例

Visual Basic

Dim scOps As New ScriptingOptions()
scOps.IncludeFullTextCatalogRootPath = true

PowerShell

$scOps = New-Object Microsoft.SqlServer.Management.Smo.ScriptingOptions
$scOps.IncludeFullTextCatalogRootPath = $TRUE

請參閱

參考

ScriptingOptions 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

指令碼