FullTextCatalog.IsDefault 属性

Gets or sets the Boolean property value that specifies whether the referenced full-text catalog is the default catalog for full-text index creation.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property IsDefault As Boolean 
    Get 
    Set
用法
Dim instance As FullTextCatalog 
Dim value As Boolean 

value = instance.IsDefault

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

属性值

类型:System.Boolean
A Boolean value that specifies whether full-text indexes are created on the referenced full-text catalog by default.If True, full-text indexes are created on the referenced full-text catalog by default.If False, full-text indexes are not created on the referenced full-text catalog by default.

注释

This property must be set before the FullTextCatalog object is created.

示例

实现全文搜索

请参阅

参考

FullTextCatalog 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

全文搜索概述

CREATE FULLTEXT CATALOG (Transact-SQL)