共用方式為


ProtocolType 屬性

Gets or sets the protocol type used by the endpoint.

命名空間:  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
A ProtocolType object value that specifies the type of protocol used by the endpoint.

範例

實作端點