ImmutabilityExtensionMethods.GetLocks Method (Partition)


Get the lock flags for this Partition instance. This will include any locks enabled on the Store containing the partition.

Namespace:   Microsoft.VisualStudio.Modeling.Immutability
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public static Locks GetLocks(
	this Partition partition


Type: Microsoft.VisualStudio.Modeling.Partition

The Partition instance whose lock flags are to be queried

Return Value

Type: Microsoft.VisualStudio.Modeling.Immutability.Locks

Lock flags enabled on the partition

Return to top