次の方法で共有


ProtocolType プロパティ

エンドポイントによって使用されるプロトコルの種類を取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute> _
Public Property ProtocolType As ProtocolType
    Get
    Set
'使用
Dim instance As Endpoint
Dim value As ProtocolType

value = instance.ProtocolType

instance.ProtocolType = value
[SfcPropertyAttribute]
public ProtocolType ProtocolType { get; set; }
[SfcPropertyAttribute]
public:
property ProtocolType ProtocolType {
    ProtocolType get ();
    void set (ProtocolType value);
}
[<SfcPropertyAttribute>]
member ProtocolType : ProtocolType with get, set
function get ProtocolType () : ProtocolType
function set ProtocolType (value : ProtocolType)

プロパティ値

型: Microsoft.SqlServer.Management.Smo. . :: . .ProtocolType
エンドポイントによって使用されるプロトコルの種類を示す ProtocolType オブジェクトの値です。