Compartir a través de


Server.TcpEnabled Propiedad

Gets the Boolean value that determines whether TCP/IP protocol is enabled on this instance of SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property TcpEnabled As Boolean 
    Get
'Uso
Dim instance As Server 
Dim value As Boolean 

value = instance.TcpEnabled
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool TcpEnabled { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool TcpEnabled {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member TcpEnabled : bool
function get TcpEnabled () : boolean

Valor de la propiedad

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

Vea también

Referencia

Server Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo