共用方式為


ISql90TcpProtocolSpecifier.ListenerPort 屬性

取得或設定接聽通訊埠。

命名空間:  Microsoft.Data.Schema.Sql.SchemaModel
組件:  Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)

語法

'宣告
Property ListenerPort As Integer
    Get
    Set
int ListenerPort { get; set; }
property int ListenerPort {
    int get ();
    void set (int value);
}
abstract ListenerPort : int with get, set
function get ListenerPort () : int
function set ListenerPort (value : int)

屬性值

型別:System.Int32

.NET Framework 安全性

請參閱

參考

ISql90TcpProtocolSpecifier 介面

Microsoft.Data.Schema.Sql.SchemaModel 命名空間