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)

[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Matrix)]
public bool TcpEnabled { get; }

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