Share via


IServerSetupFacet.NamedPipesEnabled-Eigenschaft

Gets the Boolean value that determines whether named pipes are enabled on the instance of SQL Server.

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Server_NamedPipesEnabledDesc")> _
<DisplayNameKeyAttribute("Server_NamedPipesEnabledName")> _
ReadOnly Property NamedPipesEnabled As Boolean 
    Get
'Usage
Dim instance As IServerSetupFacet 
Dim value As Boolean 

value = instance.NamedPipesEnabled
[DisplayDescriptionKeyAttribute("Server_NamedPipesEnabledDesc")]
[DisplayNameKeyAttribute("Server_NamedPipesEnabledName")]
bool NamedPipesEnabled { get; }
[DisplayDescriptionKeyAttribute(L"Server_NamedPipesEnabledDesc")]
[DisplayNameKeyAttribute(L"Server_NamedPipesEnabledName")]
property bool NamedPipesEnabled {
    bool get ();
}
[<DisplayDescriptionKeyAttribute("Server_NamedPipesEnabledDesc")>]
[<DisplayNameKeyAttribute("Server_NamedPipesEnabledName")>]
abstract NamedPipesEnabled : bool
function get NamedPipesEnabled () : boolean

Eigenschaftswert

Typ: System.Boolean
A Boolean value that specifies whether named pipes are enabled on the instance of SQL Server.If True, named pipes are enabled. Otherwise, False.

Beispiele

Festlegen von Eigenschaften

Siehe auch

Verweis

IServerSetupFacet Schnittstelle

Microsoft.SqlServer.Management.Smo-Namespace