Partager via


Méthode Package.Validate

Checks the package for various expected conditions.

Espace de noms :  Microsoft.MasterDataServices.Deployment
Assembly :  Microsoft.MasterDataServices.Deployment (en Microsoft.MasterDataServices.Deployment.dll)

Syntaxe

'Déclaration
Public Sub Validate
'Utilisation
Dim instance As Package

instance.Validate()
public void Validate()
public:
void Validate()
member Validate : unit -> unit
public function Validate()

Notes

Validate throws DeploymentException under the following conditions:

  • The Metadata property is nullune référence Null (Nothing dans Visual Basic).

  • The Metadata in the package does not contain exactly one model.

  • The package contains master data, but the version of the data does not match the version of the Metadata.

  • The business rule set in the package explicitly contains BRActions, BRConditions, or BRConditionTreeNodes.

Voir aussi

Référence

Package Classe

Espace de noms Microsoft.MasterDataServices.Deployment