IsFullTextInstalled 属性

获取 Boolean 值,该值指定在 SQL Server 的实例上是否安装全文服务。

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

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsFullTextInstalled As Boolean
    Get
用法
Dim instance As Server
Dim value As Boolean

value = instance.IsFullTextInstalled
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsFullTextInstalled { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
virtual property bool IsFullTextInstalled {
    bool get () sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
abstract IsFullTextInstalled : bool
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
override IsFullTextInstalled : bool
final function get IsFullTextInstalled () : boolean

属性值

类型:System. . :: . .Boolean
一个 Boolean 值,该值指定在 SQL Server 的实例上是否安装全文服务。
如果为 True,则安装全文服务。否则为 False(默认值)。

实现

IServerInformation. . :: . .IsFullTextInstalled

示例

C#

Server srv = new Server("(local)");
Console.WriteLine("Full-Text service is installed: " + srv.FullTextInstalled.ToString()

PowerShell

$srv = new-Object Microsoft.SqlServer.Management.Smo.Server("(local)")
Write-Host "Full-Text service is installed:" $srv.FullTextInstalled

请参阅

参考

Planning a SQL Server Installation

其他资源