Propriété Server.IsFullTextInstalled
Gets the Boolean value that specifies whether Full-Text service is installed on the instance of SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsFullTextInstalled As Boolean
Get
'Utilisation
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
Valeur de propriété
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).
Implémente
IServerInformation.IsFullTextInstalled
Exemples
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
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo
Planning a SQL Server Installation