共用方式為


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.ReadOnlyAfterCreation)> _
Public Property IsDefault As Boolean
    Get
    Set
'用途
Dim instance As FullTextCatalog
Dim value As Boolean

value = instance.IsDefault

instance.IsDefault = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public bool IsDefault { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property bool IsDefault {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
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.