Поделиться через


Свойство IServerSetupFacet.NamedPipesEnabled

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<DisplayDescriptionKeyAttribute("Server_NamedPipesEnabledDesc")> _
<DisplayNameKeyAttribute("Server_NamedPipesEnabledName")> _
ReadOnly Property NamedPipesEnabled As Boolean 
    Get
'Применение
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

Значение свойства

Тип: 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.

Примеры

Установка свойств

См. также

Справочник

IServerSetupFacet Интерфейс

Пространство имен Microsoft.SqlServer.Management.Smo