Share via


FullTextCatalog.IsDefault Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property IsDefault As Boolean 
    Get 
    Set
'Usage
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)

Property Value

Type: 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.

Remarks

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

Examples

Implementing Full-Text Search

See Also

Reference

FullTextCatalog Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

DEL - Full-Text Search Overview

CREATE FULLTEXT CATALOG (Transact-SQL)