你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MapperDslConnectorProperties 类

定义

根据名称/值对,CDC 表的连接器属性。

public class MapperDslConnectorProperties
type MapperDslConnectorProperties = class
Public Class MapperDslConnectorProperties
继承
MapperDslConnectorProperties

构造函数

MapperDslConnectorProperties()

初始化 MapperDslConnectorProperties 的新实例。

属性

Name

属性的名称。

Value

属性的名称。

若要将对象分配给此属性,请使用 FromObjectAsJson<T>(T, JsonSerializerOptions)

若要将已格式化的 json 字符串分配给此属性,请使用 FromString(String)

示例:

  • BinaryData.FromObjectAsJson (“foo”) 创建“foo”的有效负载。
  • BinaryData.FromString (“\”foo\“”) 创建“foo”的有效负载。
  • BinaryData.FromObjectAsJson (new { key = “value” }) 创建 { “key”: “value” } 的有效负载。
  • BinaryData.FromString (“{\”key\“: \”value\“}”) 创建有效负载 { “key”: “value” }。

适用于