다음을 통해 공유


IFsrmClassificationManager2.WaitForClassificationCompletion Method (Int32)

 

Waits for the specified period of time or until classification has finished running.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

bool WaitForClassificationCompletion(
    int waitSeconds
)
bool WaitForClassificationCompletion(
    int waitSeconds
)
abstract WaitForClassificationCompletion : 
        waitSeconds:int -> bool
Function WaitForClassificationCompletion (
    waitSeconds As Integer
) As Boolean

Parameters

  • waitSeconds
    Type: System.Int32

    The number of seconds to wait for classification and the reports to complete. The method returns when the period expires or classification and the reports have completed. To wait indefinitely, set this parameter to –1. The value must be in the range from –1 through 2,147,483.

Return Value

Type: System.Boolean

True if the reports completed; otherwise, false.

Implements

IFsrmClassificationManager.WaitForClassificationCompletion(Int32)

Remarks

To run the classification, call the RunClassification method.

After WaitForClassificationCompletion returns, access the ClassificationLastError property to determine if the reports completed successfully.

See Also

IFsrmClassificationManager2 Interface
Microsoft.Storage Namespace

Return to top