Payload 类

The Payload object represents a SQL Server HTTP endpoint payload.

继承层次结构

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Class Payload
用法
Dim instance As Payload
public class Payload
public ref class Payload
type Payload =  class end
public class Payload

Payload 类型公开以下成员。

属性

  名称 说明
公共属性 DatabaseMirroring Gets the database mirroring payload.
公共属性 ServiceBroker Gets the Service Broker payload.
公共属性 Soap Gets the SOAP payload.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

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

此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。 不保证所有实例成员都对于线程安全的。

示例

实现端点

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。