示例#1
0
        private void UpdateInteractiveComputers()
        {
            AssetTypeList listAssetTypes = new AssetTypeList();

            listAssetTypes.Populate();

            AssetType     assetType     = listAssetTypes.FindByName("Computers");
            AssetTypeList computersList = listAssetTypes.EnumerateChildren(assetType.AssetTypeID);

            auditScannerDefinition.InteractiveCategories = computersList.ToString();
        }