次の方法で共有


ProtocolType プロパティ

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

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

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ProtocolType As ProtocolType
    Get
    Set
'使用
Dim instance As Endpoint
Dim value As ProtocolType

value = instance.ProtocolType

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

プロパティ値

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