Bagikan melalui


Server.IsFullTextInstalled Property

Gets the Boolean value that specifies whether Full-Text service is installed on the instance of SQL Server.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsFullTextInstalled As Boolean 
    Get
'Usage
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

Property Value

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

Implements

IServerInformation.IsFullTextInstalled

Examples

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

See Also

Reference

Server Class

Microsoft.SqlServer.Management.Smo Namespace

Planning a SQL Server Installation

Other Resources

Managing Servers