RiskyDeploymentStatusMessage Method in Class SMS_Advertisement

The RiskyDeploymentStatusMessage Windows Management Instrumentation (WMI) class method, in Configuration Manager, sends a warning status message about a user deployment to a risky collection.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.


SInt32 RiskyDeploymentStatusMessage (  
    String DeploymentID,  
    String DeploymentName,  
    String PackageID,  
    String CollectionID  


Data type: String

Qualifiers: [in]

Deployment ID.

Data type: String

Qualifiers: [in]

Name of the deployment.

Data type: String

Qualifiers: [in]

Package ID of the deployment.

Data type: String

Qualifiers: [in]

Collection ID of the deployment.

Return Values

An SInt32 data type that is 0 to indicate success or non-zero to indicate failure.

For more information about handling returned errors, see About Configuration Manager Errors.


Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

SMS_Advertisement Server WMI Class