Share via


StoreConfiguration.ShouldRestrictToEnterpriseStoreOnly Method

Definition

Determines whether the Microsoft Store for Business is enabled for the current user.

public:
 static bool ShouldRestrictToEnterpriseStoreOnly();
 static bool ShouldRestrictToEnterpriseStoreOnly();
public static bool ShouldRestrictToEnterpriseStoreOnly();
function shouldRestrictToEnterpriseStoreOnly()
Public Shared Function ShouldRestrictToEnterpriseStoreOnly () As Boolean

Returns

Boolean

bool

True if the Microsoft Store for Business is enabled for the current user; otherwise false.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to