TcpEnabled propriété
Gets the Boolean value that determines whether TCP/IP protocol is enabled on the instance of SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<DisplayNameKeyAttribute("Server_TcpEnabledName")> _
<DisplayDescriptionKeyAttribute("Server_TcpEnabledDesc")> _
ReadOnly Property TcpEnabled As Boolean
Get
'Utilisation
Dim instance As IServerSetupFacet
Dim value As Boolean
value = instance.TcpEnabled
[DisplayNameKeyAttribute("Server_TcpEnabledName")]
[DisplayDescriptionKeyAttribute("Server_TcpEnabledDesc")]
bool TcpEnabled { get; }
[DisplayNameKeyAttribute(L"Server_TcpEnabledName")]
[DisplayDescriptionKeyAttribute(L"Server_TcpEnabledDesc")]
property bool TcpEnabled {
bool get ();
}
[<DisplayNameKeyAttribute("Server_TcpEnabledName")>]
[<DisplayDescriptionKeyAttribute("Server_TcpEnabledDesc")>]
abstract TcpEnabled : bool
function get TcpEnabled () : boolean
Valeur de la propriété
Type : System. . :: . .Boolean
A Boolean value that specifies whether TCP/IP protocol is enabled on the instance of SQL Server.
If True, TCP/IP is enabled. Otherwise, False.