TcpEnabled Property
Collapse the table of content
Expand the table of content

Server.TcpEnabled Property


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

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

Public ReadOnly Property TcpEnabled As Boolean

Property Value

Type: 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.

Return to top
© 2016 Microsoft