IsDynamicPort 属性

Gets the Boolean property that specifies whether the port used by the protocol is dynamic or static.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute> _
Public ReadOnly Property IsDynamicPort As Boolean
    Get
用法
Dim instance As TcpProtocol
Dim value As Boolean

value = instance.IsDynamicPort
[SfcPropertyAttribute]
public bool IsDynamicPort { get; }
[SfcPropertyAttribute]
public:
property bool IsDynamicPort {
    bool get ();
}
[<SfcPropertyAttribute>]
member IsDynamicPort : bool
function get IsDynamicPort () : boolean

属性值

类型:System. . :: . .Boolean
A Boolean value that specifies whether the port is dynamic.
If True, the port is dynamic.
If False (default), the port is static.

示例

实现端点