Export (0) Print
Expand All
Expand Minimize

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft