مشاركة عبر


LinkedServer.IsPromotionofDistributedTransactionsForRPCEnabled Property

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

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsPromotionofDistributedTransactionsForRPCEnabled As Boolean 
    Get 
    Set
'Usage
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)

Property Value

Type: 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).

Examples

Using Linked Servers in SMO

See Also

Reference

LinkedServer Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Linked Servers (Database Engine)

sp_addlinkedserver (Transact-SQL)