次の方法で共有


IServerSelectionFacet.TcpEnabled プロパティ

サーバーで伝送制御プロトコル (TCP) が有効かどうかを指定するブール値を取得します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<DisplayDescriptionKeyAttribute("Server_TcpEnabledDesc")> _
<DisplayNameKeyAttribute("Server_TcpIpProtocolEnabledName")> _
ReadOnly Property TcpEnabled As Boolean 
    Get
'使用
Dim instance As IServerSelectionFacet 
Dim value As Boolean 

value = instance.TcpEnabled
[DisplayDescriptionKeyAttribute("Server_TcpEnabledDesc")]
[DisplayNameKeyAttribute("Server_TcpIpProtocolEnabledName")]
bool TcpEnabled { get; }
[DisplayDescriptionKeyAttribute(L"Server_TcpEnabledDesc")]
[DisplayNameKeyAttribute(L"Server_TcpIpProtocolEnabledName")]
property bool TcpEnabled {
    bool get ();
}
[<DisplayDescriptionKeyAttribute("Server_TcpEnabledDesc")>]
[<DisplayNameKeyAttribute("Server_TcpIpProtocolEnabledName")>]
abstract TcpEnabled : bool
function get TcpEnabled () : boolean

プロパティ値

型: System.Boolean
ブール値。サーバーで TCP が有効な場合は True、それ以外の場合は False です。

関連項目

参照

IServerSelectionFacet インターフェイス

Microsoft.SqlServer.Management.Smo 名前空間