PlatformDiagnosticsAndUsageDataSettings.CanCollectDiagnostics 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.
Returns a Boolean value indicating if the requested data collection level can be enabled.
public:
static bool CanCollectDiagnostics(PlatformDataCollectionLevel level);
static bool CanCollectDiagnostics(PlatformDataCollectionLevel const& level);
public static bool CanCollectDiagnostics(PlatformDataCollectionLevel level);
function canCollectDiagnostics(level)
Public Shared Function CanCollectDiagnostics (level As PlatformDataCollectionLevel) As Boolean
Parameters
The desired data collection level.
Returns
Boolean
bool
Returns true if the requested data collection level can be enabled, otherwise false.