Share via


Database.CanProcess Method

Indicates whether a process type can be processed for a specified Database object.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Overrides Function CanProcess ( _
    processType As ProcessType _
) As Boolean
'Usage
Dim instance As Database 
Dim processType As ProcessType 
Dim returnValue As Boolean 

returnValue = instance.CanProcess(processType)
public override bool CanProcess(
    ProcessType processType
)
public:
virtual bool CanProcess(
    ProcessType processType
) override
abstract CanProcess : 
        processType:ProcessType -> bool  
override CanProcess : 
        processType:ProcessType -> bool
public override function CanProcess(
    processType : ProcessType
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the specified processType can be processed given the Database; otherwise, false.

Implements

IProcessable.CanProcess(ProcessType)

See Also

Reference

Database Class

Microsoft.AnalysisServices Namespace