Share via


ModelingDocStore.CanCommit(Transaction) Method

Definition

Query whether top-level transaction commit can proceed based on external criteria.

public:
 virtual Microsoft::VisualStudio::Modeling::CanCommitResult CanCommit(Microsoft::VisualStudio::Modeling::Transaction ^ transaction);
public virtual Microsoft.VisualStudio.Modeling.CanCommitResult CanCommit (Microsoft.VisualStudio.Modeling.Transaction transaction);
abstract member CanCommit : Microsoft.VisualStudio.Modeling.Transaction -> Microsoft.VisualStudio.Modeling.CanCommitResult
override this.CanCommit : Microsoft.VisualStudio.Modeling.Transaction -> Microsoft.VisualStudio.Modeling.CanCommitResult
Public Overridable Function CanCommit (transaction As Transaction) As CanCommitResult

Parameters

transaction
Transaction

Transaction to commit.

Returns

True to allow commit, false to decline.

Applies to