SqlConnectionStringBuilder.Replication Property

Definition

获取或设置一个布尔值,该值指示是否使用连接来支持复制。Gets or sets a Boolean value that indicates whether replication is supported using the connection.

public:
 property bool Replication { bool get(); void set(bool value); };
public bool Replication { get; set; }
member this.Replication : bool with get, set
Public Property Replication As Boolean

Property Value

Boolean

Replication 属性的值;如果未提供任何值,则为 false。The value of the Replication property, or false if none has been supplied.

Remarks

此属性与连接字符串内的“Replication”键相对应。This property corresponds to the "Replication" key within the connection string.

Applies to

See also