Share via


TcpProtocol.IsDynamicPort Property

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

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public ReadOnly Property IsDynamicPort As Boolean
public bool IsDynamicPort { get; }
public:
property bool IsDynamicPort {
    bool get ();
}
/** @property */
public boolean get_IsDynamicPort ()
public function get IsDynamicPort () : boolean

Property Value

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Create a Database Mirroring Endpoint Service in Visual Basic .NET

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

TcpProtocol Class
TcpProtocol Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Implementing Endpoints
Network Protocols, and TDS Endpoints
CREATE ENDPOINT (Transact-SQL)