Share via


Protocol Class

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

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Class Protocol
public class Protocol
public ref class Protocol
public class Protocol
public class Protocol

Notas

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de 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

Ejemplo

How to: Create a Database Mirroring Endpoint Service in Visual Basic .NET

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

Protocol Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Implementing Endpoints
CREATE ENDPOINT (Transact-SQL)