Condividi tramite


Proprietà TcpProtocol.IsDynamicPort

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsDynamicPort As Boolean 
    Get
'Utilizzo
Dim instance As TcpProtocol 
Dim value As Boolean 

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

Valore proprietà

Tipo: 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.

Esempi

Implementazione di endpoint

Vedere anche

Riferimento

TcpProtocol Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Protocolli di rete ed endpoint TDS

CREATE ENDPOINT (Transact-SQL)