Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Matrix)> _
Public ReadOnly Property TcpEnabled As Boolean 
	Get
'Usage
Dim instance As Server 
Dim value As Boolean 

value = instance.TcpEnabled

Property Value

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

Community Additions

Show:
© 2015 Microsoft