共用方式為


Http 屬性

Gets the HTTP protocol.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property Http As HttpProtocol
    Get
'用途
Dim instance As Protocol
Dim value As HttpProtocol

value = instance.Http
public HttpProtocol Http { get; }
public:
property HttpProtocol^ Http {
    HttpProtocol^ get ();
}
member Http : HttpProtocol
function get Http () : HttpProtocol

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .HttpProtocol
An HttpProtocol object that specifies the HTTP protocol.

備註

To get Protocolobject properties, users can be a member of the public fixed server role.

To set Protocol object properties, users must be the owner of the endpoint, or have ALTER ANY ENDPOINT permission on the server, or be a member of the sysadmin fixed server role.

範例

實作端點