DeploymentSyncContext.EnableTransaction Property
Gets a value that determines whether the current synchronization context permits transactions
Namespace: Microsoft.Web.Deployment
Assembly: Microsoft.Web.Deployment (in Microsoft.Web.Deployment.dll)
Syntax
'Declaration
Public ReadOnly Property EnableTransaction As Boolean
Get
'Usage
Dim instance As DeploymentSyncContext
Dim value As Boolean
value = instance.EnableTransaction
public bool EnableTransaction { get; }
public:
property bool EnableTransaction {
bool get ();
}
function get EnableTransaction () : boolean
Property Value
Type: Boolean
true of the current synchronization context permits transactions, otherwise false.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.90).