Поделиться через


Метод Package.Validate

Checks the package for various expected conditions.

Пространство имен:  Microsoft.MasterDataServices.Deployment
Сборка:  Microsoft.MasterDataServices.Deployment (в Microsoft.MasterDataServices.Deployment.dll)

Синтаксис

'Декларация
Public Sub Validate
'Применение
Dim instance As Package

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

Замечания

Validate throws DeploymentException under the following conditions:

  • The Metadata property is nullпустая ссылка (Nothing в 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.

См. также

Справочник

Package Класс

Пространство имен Microsoft.MasterDataServices.Deployment