共用方式為


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)