Export (0) Print
Expand All

Protocol Class

The Protocol object provides programmatic access to the protocols supported by SQL Server.

Object
  Microsoft.SqlServer.Management.Smo.Protocol

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

'Declaration
Public Class Protocol
'Usage
Dim instance As Protocol

The Protocol type exposes the following members.

  NameDescription
Public propertyHttpGets the HTTP protocol.
Public propertyTcpGets the TCP protocol.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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

To set Payload 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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft