LinkedServer.IsPromotionofDistributedTransactionsForRPCEnabled 属性

Gets or sets a Boolean property value that specifies whether the promotion of distributed transaction for RPC (remote procedure calls) is enabled.

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

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsPromotionofDistributedTransactionsForRPCEnabled As Boolean 
    Get 
    Set
用法
Dim instance As LinkedServer 
Dim value As Boolean 

value = instance.IsPromotionofDistributedTransactionsForRPCEnabled

instance.IsPromotionofDistributedTransactionsForRPCEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsPromotionofDistributedTransactionsForRPCEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsPromotionofDistributedTransactionsForRPCEnabled {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsPromotionofDistributedTransactionsForRPCEnabled : bool with get, set
function get IsPromotionofDistributedTransactionsForRPCEnabled () : boolean 
function set IsPromotionofDistributedTransactionsForRPCEnabled (value : boolean)

属性值

类型:System.Boolean
A Boolean property value that specifies whether the promotion of distributed transaction for RPC (remote procedure calls) is enabled. If True, promotion of distributed transactions is supported. Otherwise, False (default).

示例

在 SMO 中使用链接服务器

请参阅

参考

LinkedServer 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

链接服务器(数据库引擎)

sp_addlinkedserver (Transact-SQL)