Protocol Class
The Protocol object provides programmatic access to the protocols supported by Microsoft SQL Server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Declaration
Public Class Protocol
public class Protocol
public ref class Protocol
public class Protocol
public class Protocol
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
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.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Smo.Protocol
Example
How to: Create a Database Mirroring Endpoint Service in Visual Basic .NET
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
Protocol Members
Microsoft.SqlServer.Management.Smo Namespace