Server.TcpEnabled Property
SQL Server 2012
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.Standalone)] public bool TcpEnabled { get; }
Property Value
Type: System.BooleanA 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.
