共用方式為


IncludeFullTextCatalogRootPath 屬性

Gets or sets the IncludeFullTextCatalogRootPath property value.

命名空間:  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
Boolean

範例

Visual Basic

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

PowerShell

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