共用方式為


TcpEnabled 屬性

Gets or sets the Boolean value that determines whether the referenced property is enabled.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property TcpEnabled As Boolean
    Get
'用途
Dim instance As ServerAdapterBase
Dim value As Boolean

value = instance.TcpEnabled
public bool TcpEnabled { get; }
public:
virtual property bool TcpEnabled {
    bool get () sealed;
}
abstract TcpEnabled : bool
override TcpEnabled : bool
final function get TcpEnabled () : boolean

屬性值

型別:System. . :: . .Boolean
A Boolean value whether the referenced property is enabled.
If True, the property is enabled. Otherwise, False.