Server.TcpEnabled 속성

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

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property TcpEnabled As Boolean 
    Get
‘사용 방법
Dim instance As Server 
Dim value As Boolean 

value = instance.TcpEnabled
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool TcpEnabled { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool TcpEnabled {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member 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. Returns True if TCP/IP is enabled, or False if TCP/IP is not enabled.

참고 항목

참조

Server 클래스

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