다음을 통해 공유


IServerSetupFacet.TcpEnabled 속성

Gets the Boolean value that determines whether TCP/IP protocol is enabled on the instance of SQL Server.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<DisplayDescriptionKeyAttribute("Server_TcpEnabledDesc")> _
<DisplayNameKeyAttribute("Server_TcpEnabledName")> _
ReadOnly Property TcpEnabled As Boolean 
    Get
‘사용 방법
Dim instance As IServerSetupFacet 
Dim value As Boolean 

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

속성 값

유형: System.Boolean
A Boolean value that specifies whether TCP/IP protocol is enabled on the instance of SQL Server.If True, TCP/IP is enabled. Otherwise, False.

속성 설정

참고 항목

참조

IServerSetupFacet 인터페이스

Microsoft.SqlServer.Management.Smo 네임스페이스