다음을 통해 공유


FsrmClassificationManagerClass.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

public virtual bool WaitForClassificationCompletion(
    int waitSeconds
)
public:
virtual bool WaitForClassificationCompletion(
    int waitSeconds
)
abstract WaitForClassificationCompletion : 
        waitSeconds:int -> bool
override WaitForClassificationCompletion : 
        waitSeconds:int -> bool
Public Overridable 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 complete. To wait indefinitely, set the value 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

IFsrmClassificationManager2.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
IFsrmClassificationManager
ClassificationRunningStatus
FsrmClassificationManager
FsrmClassificationManagerClass Class
Microsoft.Storage Namespace
MSFT_FSRMClassification

Return to top