IServerSelectionFacet.TcpEnabled 属性

Gets a Boolean value that specifies whether Transmission Control Protocol (TCP) is enabled on the server.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayDescriptionKeyAttribute("Server_TcpEnabledDesc")> _
<DisplayNameKeyAttribute("Server_TcpIpProtocolEnabledName")> _
ReadOnly Property TcpEnabled As Boolean 
    Get
用法
Dim instance As IServerSelectionFacet 
Dim value As Boolean 

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

属性值

类型:System.Boolean
A Boolean value, True if TCP is enabled on the server, otherwise False.

请参阅

参考

IServerSelectionFacet 接口

Microsoft.SqlServer.Management.Smo 命名空间