Share via


PlatformDiagnosticsAndUsageDataSettings.CanCollectDiagnostics Method

Definition

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

level
PlatformDataCollectionLevel

The desired data collection level.

Returns

Boolean

bool

Returns true if the requested data collection level can be enabled, otherwise false.

Applies to