Expand Minimize
0 out of 1 rated this helpful - Rate this topic

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.Standalone)> _
Public ReadOnly Property TcpEnabled As Boolean 
	Get
'Usage
Dim instance As Server 
Dim value As Boolean 

value = instance.TcpEnabled

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.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.