Protocol Class
The Protocol object provides programmatic access to the protocols supported by SQL Server.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Smo.Protocol
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Class Protocol
'Usage
Dim instance As Protocol
public class Protocol
public ref class Protocol
type Protocol = class end
public class Protocol
The Protocol type exposes the following members.
Properties
Name | Description | |
---|---|---|
Http | Gets the HTTP protocol. | |
Tcp | Gets the TCP protocol. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Remarks
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.
Examples
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace