Server.IsFullTextInstalled 属性
Gets the Boolean value that specifies whether Full-Text service is installed on the instance of 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
A Boolean value that specifies the whether Full-Text service is installed on instance of SQL Server. If True, Full-Text service is installed. Otherwise, False (default).
实现
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
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间
Planning a SQL Server Installation