ModelingDocStore.CanCommit(Transaction) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.