Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property TcpEnabled As Boolean
Get
'Usage
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
Property Value
Type: 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.