TcpEnabled-Eigenschaft
Gets the Boolean value that determines whether TCP/IP protocol is enabled on the instance of SQL Server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayNameKeyAttribute("Server_TcpEnabledName")> _
<DisplayDescriptionKeyAttribute("Server_TcpEnabledDesc")> _
ReadOnly Property TcpEnabled As Boolean
Get
'Usage
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
Eigenschaftenwert
Typ: 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.