Payload Class

The Payload object represents a SQL Server HTTP endpoint payload.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.Payload

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

Syntax

'Declaration
Public Class Payload
'Usage
Dim instance As Payload
public class Payload
public ref class Payload
type Payload =  class end
public class Payload

The Payload type exposes the following members.

Properties

  Name Description
Public property DatabaseMirroring Gets the database mirroring payload.
Public property ServiceBroker Gets the Service Broker payload.
Public property Soap Gets the SOAP payload.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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

Implementing Endpoints

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

Other Resources

CREATE ENDPOINT (Transact-SQL)